- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
There is a variable 'support group' which is a select box type with group names and I want to populate assignment group in RITM with the support group selected. How to achieve since Assignment group is a reference field and Support group is a select box field. Support group variable value is being send from 3rd party.
I have written a client script & script include but its not populating:
Client Script:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @User205031 ,
-
Trigger: Service Catalog (or Record Created:
sc_req_item). -
Action 1: Get Catalog Variables
-
Get the variables for the Submitted Request (RITM).
-
Select your Support Group variable.
-
-
Action 2: Look Up Record
-
Table: Group [
sys_user_group] -
Conditions:
Nameis[Trigger > RITM > Variables > Support Group] -
Note: This action searches the Group table for a group where the name matches your variable string.
-
-
Logic: If (Safety Check)
-
Condition:
[2. Look Up Record > Group Record]is not empty.
-
-
Action 3: Update Record (Inside the "If" block)
-
Record:
[Trigger > Requested Item Record] -
Fields:
Assignment Group=[2. Look Up Record > Group Record]
-
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @User205031
use update record action in flow designer, and set the assignment group directly without any coding,
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Deepak Shaerma ,
I was trying to do that but cant since Assignment group is a reference field and support group is a choice field. Not able to select support group for Assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @User205031 ,
-
Trigger: Service Catalog (or Record Created:
sc_req_item). -
Action 1: Get Catalog Variables
-
Get the variables for the Submitted Request (RITM).
-
Select your Support Group variable.
-
-
Action 2: Look Up Record
-
Table: Group [
sys_user_group] -
Conditions:
Nameis[Trigger > RITM > Variables > Support Group] -
Note: This action searches the Group table for a group where the name matches your variable string.
-
-
Logic: If (Safety Check)
-
Condition:
[2. Look Up Record > Group Record]is not empty.
-
-
Action 3: Update Record (Inside the "If" block)
-
Record:
[Trigger > Requested Item Record] -
Fields:
Assignment Group=[2. Look Up Record > Group Record]
-
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
@User205031 ,
Make sure you have correct value as same as the Assignment group name in selectbox,
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
