How to set multiple variable values in a single variable using Run Script(workflow)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 02:52 AM
After creating Request, few variables like,
variable 1 : A
B
C
D
variable 2: A1
B1
C1
variable 3:A2
B2
C2 etc
In Variable 4(multiple line text)the above 3 variable values should populate with semicolon and space for each value.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:48 AM
Your Workflow should be on RITM Table, you can use current.variables.variablename.getDisplayvalue()
what are the variable types of the 3 variables?
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 07:57 AM
type of the 3 variables are multi line text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 03:03 AM
Hi,
You can refer to this thread:
https://community.servicenow.com/community?id=community_question&sys_id=fb3a02cfdb9a3fc014d6fb2439961944
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep