Unable to insert record in group member table through script step in custom action in a flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 06:53 AM
Hi,
I am not able to insert record in group member table through script step in custom action in a flow. I am using below script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 08:13 AM
are you sure you are sending the sysIds for group and user correctly?
your flow is in which scope? If in other scope then possibly cross scope issue might be restricting the insertion
your flow is running with which user? Make it run as System user
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 10:10 AM - edited 01-19-2025 10:22 AM
Yes, I am sending the sys ids for group and user. As I mentioned same script is working fine in background script.
Flow is in global scope and running as System user. It was working fine before. I am facing this issue after xanadu patch 4 upgrade.