3 weeks ago
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 Regards
Answered! Go to Answer.
3 weeks ago
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.
3 weeks ago
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.
3 weeks ago
thank you for your guidance, but I changed with navigate stage but Adults and Children data is not working. same error is displayed.
3 weeks ago
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?
3 weeks ago
please check screenshots
3 weeks ago
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.
3 weeks ago
thank you for your support. its working now. after amended as per your guidance.