- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 04:38 AM
Hi,
When a client using the portal and request something using one of the catalog items, he needs fill a variable called 'Service' which is reference to cmdb_ci_service. After submitting the request using the portal, a RITM is created in sc_req_item table. How can I populate the actual field 'service' in sc_req_item table using the input of the variable 'service' ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 04:58 AM
Hi,
You have to copy the Service catalog variables values into Service field/columns on Request item [sc_req_item] form.
Workflow:
Sample scripts to use in workflow run-script activity.
current.service_field = current.variables.service_variable_name;
Flows:
If you are using flow, then use the Update Record action flow activity. drag-drop the current record using data pill or picker, select the table as Requested item and set Service in field values and select the Service variable using data pill.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2022 04:58 AM
Hi,
You have to copy the Service catalog variables values into Service field/columns on Request item [sc_req_item] form.
Workflow:
Sample scripts to use in workflow run-script activity.
current.service_field = current.variables.service_variable_name;
Flows:
If you are using flow, then use the Update Record action flow activity. drag-drop the current record using data pill or picker, select the table as Requested item and set Service in field values and select the Service variable using data pill.
Thanks,
Sagar Pagar