- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 12:55 PM
Hey, I want to add the Variable Editor (Formatter) to the catalog task page where you can see the details of the task. Like this picture:
Like this
I tried to add the variable editor by editing the form design but it did not work. Can some one show me how to do it.
Thanks.
Here is the picture of the variable editor that shows the answers typed by the user while submitting a service catalog:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 08:36 AM
OK, so that confirms that there's not a mismatch between the view in Form Designer and the one you're using when looking at catalog tasks. So my assumption is that you need to update your workflow to copy the variables from the RITM to the task. This is done in the Catalog Task creation activity as shown below. (Alternatively, if you always want to copy all variables, you could create a script in an insert BR on the sc_task table.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 06:06 AM
One other thought - you didn't mention how you were creating the tasks. If from a Flow you need to be sure to identify which variables to include from the RITM when you create the Task. If from a Workflow, you need to have code, possibly an Insert BR on sc_task, that copies the variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 06:53 AM
Hey @ronprice,
Here is the screenshot that you asked for. One including the form design view and the other one is the active view pane from the actual task page.
And the answer to the following question is yes, I used workflows in order to create the tasks.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 08:36 AM
OK, so that confirms that there's not a mismatch between the view in Form Designer and the one you're using when looking at catalog tasks. So my assumption is that you need to update your workflow to copy the variables from the RITM to the task. This is done in the Catalog Task creation activity as shown below. (Alternatively, if you always want to copy all variables, you could create a script in an insert BR on the sc_task table.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 10:48 AM
Hey @ronprice ,
Thanks for the guidance I was able to make it work. 👍