cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to fix the issue, in BP Travel object design

Adnan3194
Level 6

Hi, All BP Community members,

i designed BP Travel (Web Based), in Object design, i stuck in the write stage, my process is unable to write the children and adults data. for this reference i am attaching screenshots, please guide me how to fix this error.  

 

Best Regardsadults element.jpgChildren element.jpgerror.jpgwrite.jpgbp travel.jpg

1 BEST ANSWER

Helpful Answers

Thanks. If you are sending the values "[Adult]" and "[Children]" you are literally sending the value [Adult] as the item text not the value of the Data Item. I am assuming you are doing that because [Adult] and [Children] are numbers but Item Text need to be Text. So instead of wrapping in quotes set Item Text value to [Children]&"" and [Adult]&"" to convert the number to text and then try.

Otherwise the set up of your navigate stage does look correct.

View answer in original post

6 REPLIES 6

EricNewton
Level 4

Think about the element type you are trying to write to in this case, how do these 2 differ from the rest of the write stage elements you are using? For example what is different between the Adult field vs the Name field? Could I set any value I want to the Adult field on the page?

Maybe compare it to the other fields you are entering like the To and From airports also and see if it is similar to those.

Sometimes a write stage is not appropriate for an element and you should look into using a navigate state.

Adnan3194
Level 6

thank you for your guidance, but I changed with navigate stage but Adults and Children data is not working. same error is displayed. 

Are you able to provide a screenshot of the navigate stage you are using for these now? And what values being used for the adult and children dropdown?

please check screenshotsadults navigate.jpgChildren Navigate.jpg

Thanks. If you are sending the values "[Adult]" and "[Children]" you are literally sending the value [Adult] as the item text not the value of the Data Item. I am assuming you are doing that because [Adult] and [Children] are numbers but Item Text need to be Text. So instead of wrapping in quotes set Item Text value to [Children]&"" and [Adult]&"" to convert the number to text and then try.

Otherwise the set up of your navigate stage does look correct.

Adnan3194
Level 6

thank you for your support. its working now. after amended as per your guidance.