Created By value in Assignment Groups created via RITM

SanikaK
Tera Expert

I have a requirement where I need to set the 'created by' field in sys_user_group table to the requestor of the group or the manager of the group

Current Scenario : When the assignment group is created via AGCM catalog item, new record gets created in the sc_req_item table(RITM). RITM has certain approvals, lets say 5 approvals. When the last person approves the RITM, the assignment created in sys_user_group table captures the id the approver(the person who approves last).

Expected scenario - The created by field should be populated by requestor/manager

Just wanted to understand from where the created by value is fetched in assignment group 

1 ACCEPTED SOLUTION
5 REPLIES 5

Mark Manders
Giga Patron

The 'created by' value is fetched from the user the created the record. So if that's done by the system, it will be the system.

How is your logic configured? Are you running this through business rules, flows, workflows? 

 

From a system/audit point of view, it doesn't make sense to have the person requesting something as the created by of the record. They didn't create it.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron

@SanikaK 

 

share your flow/workflow screenshots

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

 

This is ss for Create Assignment group script in the workflow