Deleting Record in a subflow in Flow Designer

Ziad Qadora
Kilo Sage

Hello,

I'm trying to delete group member record in a subflow, but so far I'm not able to.  I have tried using the group and user sysID as well as names.  But neither one has worked.  

I'm able to read the record and do check after reading it and comes back true, but I get an error when I attempt to delete the record.

Any idea what I may be doing wrong?

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

In order to resolve the issue, we needed to set the Record field of the step 2.2 "Delete Record" action to the following data pill instead: 2.1➛Group Member Record

This was the solution suggested by HI support.  

 

find_real_file.png

View solution in original post

8 REPLIES 8

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ziad,

If the subflow is part of scoped application then you have to ensure table application access setting of the target table has delete permissions enabled.

https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/new_to_servicenow/app_store_l...

Ziad Qadora
Kilo Sage

Hi Pardeep,

I'm doing this in the Global scope as the System User.  I have also tried to do it as the user who initiated the session with no luck.  

find_real_file.png

Is this a personal dev instance? If yes please share Instance URL with me.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Did you check any before delete Business rule on sys_user_grmember is blocking the delete operation?

check error logs

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader