Workflow set value activity is not updating the record for scope tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2019 09:55 AM
Workflow set value activity is not updating the record for scope tables. I just moved an application from one instance to another using an update set. However, in the new instance, workflow set value step gets finished, but doesn't update the value in the record. Is there some setting to make it work?
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2019 04:13 AM
I have responded to the original question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2019 04:12 AM
Got an update from the ServiceNow support team recently. There is a property glide.record.legacy_cross_scope_access_policy_in_script, which needs to set to true to make this work. By default it is false. However, you can achieve the same result using Run Script instead of using Set Value. It's better to use Run Script as of now as the impact of the change of the aforementioned property is not fully assessed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 09:07 AM
This worked out on my Madrid instance. Thank you!
P.S. I did not want to use Run Script because it not so user-friendly. When you come back to the workflow in few month it's much faster to find out what values are being set to what fields. And then just do a quick change without need to translate Labels in Values.