Pass variable from catalog item to requested item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 02:39 AM
Hi, I imagine this is a bit basic, so apologies.
I have an catalog item that prompts for a variable to be entered before submission. This references the 'Configuration Item' field.
How can I pass the value selected into the 'Configuration Item' field on the subsequent Requested Item?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 02:49 AM
I guess, it automatically get passed in the RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 02:50 AM
When you submit the catalog item, it will create a record and whatever the data you entered will be in the variable editor on requested item form.
And you can access variable data from the variable editor on the request item form by current.variables.fieldname
Get Variable Value from Variable Editor on Catalog Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 03:21 AM
Hi Steve,
If you are planning to set the field, then you need to
1.create workflow, add a block run script between the start ,wait for condition(and other relevant blocks) and end.
In the run script, set the field by using the line current.field_name = current.variables.variable_name ;//which contains the value on the catalog item
2. Use business rule- display , to set the value like current.field_name = current.variables.variable_name