- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @SanikaK
In ServiceNow, generally ,for order item->approval->fulfillment , we use flow or workflow.
A record created by a flow is generally not automatically attributed to the user who triggered the flow.
By default, records created within a Flow Designer action are recorded as created by the system user (Like System ), because the flow runs as a system process.
Now , It is not recommended to Run the flow by the the user who initiated the flow, reason being in that case ,you have to give that End User- Create access on sys_user_group table which is foundation table of Servicenow.
KB1158848 'Created by' user displayed in flow context when the flow is triggered by a script.