- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 05:26 AM
I'm having a requirement where we need to create and display one extra variable only on the 1st task of a RITM for a catalog item.
that variable should be mandatory, should copy the name of person from requested for field and editable only by the group to which this 1st task is assigned to so that they can change the person's name in this variable if they want.
this variable should not be present on the catalog form which end user will be filling on service portal but should be displayed on the 1st task of the RITM generated.
How can we achieve this.
Thank in advance.
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 10:41 PM
Hi Yash,
While creating the task through workflow, you can select the variables which should be visible at the task level (Make sure the variable is not set to Global in variable configuration).
Making it mandatory/editable can be done using the Catalog Client Script either through creating a client callable script include or by giving a specific role to the group and using g_user.hasRoleExactly('your_new_role') in the script itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 01:51 PM
Are you using workflow or flow designer for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 09:00 PM - edited ‎12-28-2022 09:07 PM
I'm using Workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 10:41 PM
Hi Yash,
While creating the task through workflow, you can select the variables which should be visible at the task level (Make sure the variable is not set to Global in variable configuration).
Making it mandatory/editable can be done using the Catalog Client Script either through creating a client callable script include or by giving a specific role to the group and using g_user.hasRoleExactly('your_new_role') in the script itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2022 09:38 PM
Thanks, making the variable global solved the issue.