unable to create an update set via action in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:35 AM - edited 08-23-2023 04:50 AM
Hi Everyone,
my action and flow both are in Human Resources:Core scope
so to access the update set table i've added the table sys_update_set in the property: sn_flow_designer.allowed_system_tables
i'm trying to create an update set via action in flow designer, but unable to do so, this is the following script i'm using without any inputs or outputs and using it in a flow:
if i replace the table with any other table , it's getting created (i.e. working)
just not working with the table sys_update_set
does anyone have any idea?
This is working if i create a flow and action in global scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:53 AM - edited 08-23-2023 04:54 AM
Hello @kartikey ,
is your flow in custom scope ?
also , try to run the same script in background script and see if its inserting the record .if yes then there is some thing wrong in the flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:58 AM
Hi Mohith,
my flow is in Human Resources: Core scope.
i tried creating a flow in global scope and it works just fine, why not working in HR : Core scope, and how do i make it work in HR:Core scope?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:18 AM
@kartikey its because of cross scope issue .
i just did the same thing in a fix scirpt from hr scope and it gave me this error
Security restricted: Create operation against 'sys_update_set' from scope 'sn_hr_core' has been refused due to the table's cross-scope access policy
You might have to create a cross scope policy .Navigate to Application Cross-Scope Access and create a new one like below
\
Mark the answer correct if this helps you
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 12:04 AM
Hi @Mohith Devatte , i created the action in global scope with accessible to all application scope and kept the workflow in human resources: core, and somehow it worked.