Set reference field value from flow designer action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 05:56 AM
Hi All,
I am having a sample change requests field (list type) in table A. When the record on table A gets closed, I am triggering a change task to create. I need to populate change request (reference field) value with the values from the sample change requests in table A. As its a list type, I need to display any one of the sample change request from the list.
Please find the screenshot below. I am getting the sys id of the change request but its not getting set to the change request field on change task. Kindly suggest any changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 05:03 AM - edited ā11-15-2022 05:03 AM
hi @Mohit Kaushik sir my requirement is almost same but the difference is i want to create change task using change request (i mean i have a number field in change request table so get the value and set it to change_task table the field name is change request and also it is type of a reference ).
please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 05:42 AM
Hi @Aman66,
If you are using Flow designer, then it is very easy. You have to choose the correct flow action. I think create task. There is no scripting required for this. Just set the field value from the data pill picker as shown below:
After this you should be able to see your change_request field should be filled in change_task table.
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 05:49 AM - edited ā11-15-2022 05:49 AM
hi @Mohit Kaushik sir first i have created change request than i have create a change task .and also i have do that same thing but flow is running fine it is show complete but the change task should not be create . in under the Requested item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 05:53 AM
Hi @Aman66, can you share what you have done so far, and where you are stuck. Some screenshots should be fine. I am not able to understand the query here.
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 05:59 AM - edited ā11-15-2022 06:02 AM