- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-24 11:04 AM
Hi everyone,
I have a data item in Blue Prism that contains multiple codes stored as follows:
12367
18V98
1A876
28767
20877
40767
I need to format this data item so that it appears like this: '12367','18V98','1A876','28767','20877','40767'.
How can I achieve this transformation using Blue Prism?
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-24 10:58 PM - edited 13-07-24 10:59 PM
Hi @sandeshtope ,
You can use a simple calculation formula to transform the format, where you have single quotes as the starting and ending characters while between that you replace new line characters in your data item with comma separator surrounded with single quote:
"'" & Replace([Test],NewLine(),"','") & "'"
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-24 10:58 PM - edited 13-07-24 10:59 PM
Hi @sandeshtope ,
You can use a simple calculation formula to transform the format, where you have single quotes as the starting and ending characters while between that you replace new line characters in your data item with comma separator surrounded with single quote:
"'" & Replace([Test],NewLine(),"','") & "'"
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
