-
1. Re: Retain multiple spaces when passing a string in CAI
Suvam Pani Jan 6, 2021 9:38 AM (in response to User6392 N)Hello,
CAI should not change white spaces in any input field. For example, the attached zip file contains an export of a sample CAI process, with a single input and output. If you export it into your org, and provide the input as " test 123 567 ", then you would receive the output as the same (with multiple spaces).
However, if the values is supposed to be hardcoded in an assignment step using content or formula, can you please try using concatenation wherever multiple spaces are present? For example, if " test 123 567 " is to be sent, the following formula can be used:
" "||" test 123 "||" "||" 567 "||" "
In the screenshot shared by you, please use fn:concat function like this: fn:concat(' ',' ',' ') (a single space in each quote pair).
Hope this helps.
Thanks,
Suvam
-
sp-p-demo-1609860411226.zip 3.4 KB
-
-
2. Re: Retain multiple spaces when passing a string in CAI
User6392 N Jan 12, 2021 12:56 AM (in response to Suvam Pani)Hi Suvam,
I have implemented the same solution as suggested by you and it resolved my issue.
Thanks
-
3. Re: Retain multiple spaces when passing a string in CAI
Nithy S Jan 12, 2021 6:47 AM (in response to User6392 N)Hi inuser533139,
Please mark the solution as the Correct answer and so it will be helpful other users.
Thanks!