- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- I have a Record Producer based on a custom table (let’s call it
table_x). - One of the variables is a Select Box called action.
- One of the choices in that select box is add_restricted_access.
- The user also selects an assignment group (reference to
sys_user_group).
- Finds all records in
table_xthat match the chosenassignment_group. - Updates the field
u_restricted_read_accessto false for all those matching records.
So basically we want to restrict reading access records on table table_xfor the assignment group chosen through the record producer.
And if so, what is the recommended approach or best practice for doing this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @ronro2 ,
As per my understanding, Yes you can initiate a subflow but,
don’t try to invoke the subflow directly from the Record Producer script. Instead, let the record creation event trigger a Flow, and let that Flow call the subflow. This separation of concerns is the cleanest, most scalable approach.
Refer this :
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2657568
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can trigger flow based on Record producer submission
In process engine you can associate the published flow
OR
You can use after insert BR on that target table and then call subflow from it and pass that record sysId as input and then handle it
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @ronro2 ,
As per my understanding, Yes you can initiate a subflow but,
don’t try to invoke the subflow directly from the Record Producer script. Instead, let the record creation event trigger a Flow, and let that Flow call the subflow. This separation of concerns is the cleanest, most scalable approach.
Refer this :
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2657568
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can trigger flow based on Record producer submission
In process engine you can associate the published flow
OR
You can use after insert BR on that target table and then call subflow from it and pass that record sysId as input and then handle it
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can trigger flow when record producer is submitted
🌊 YES, You CAN Launch a Flow from a Record Producer
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
