How to Populate short description field value of any custom table to any field of approval record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2023 08:22 AM
Hello Everyone,
While working on workflow I was stuck.
I need two requirement to fulfilled :-
1. How to generate Approved request while submitting the record, when I was submitting my it was Requested!
2. I have an custom table in which a field name is u_short_description I want to mapped the field to corresponding to any field in the approval record (Inside the sysapproval_approve record).
Thanks and Regards,
Suyash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2023 08:36 AM
Hello @Suyash Joshi,
1. To generate the approved request while submitting the record, you can use the 'Set Values' activity from the workflow to set the state of the request as 'Approved'.
2. And to map the u_short_description with any field from the Approval record, you can use 'Run Script' activity from the Workflow. By referring to the appropriate record using the GlideRecord method, you can populate the any field from the Approval record with the u_short_description field.
If the above solution resolve your issue, please mark the solution as 'Accepted Solution' and also marked it as 'Helpful'.
Thank You!
Prathamesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2023 09:11 PM
hello @Prathamesh
Actually, I need this to auto approved after submitting the record of my custom table.
Requested is automatically approved can you help me with the workflow image?
Thanks and Regards,
Suyash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2023 09:22 PM
Hello @Suyash Joshi,
Please refer to the below screenshot for the reference to create the workflow.
You can add additional Workflow activities as per you requirement. And after you have done with the workflow, you need to publish the Workflow and to attached that workflow to the catalog item or add the triggered condition if you are not using the catalog item.
If the above solution resolve your issue, please mark the solution as 'Accepted Solution' and also marked it as 'Helpful'.
Thank You!
Prathamesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2023 09:38 PM
It's still requested.