feat: Create an action to Get Multiple Records with a JOIN #6#77
feat: Create an action to Get Multiple Records with a JOIN #6#77vhudlikar wants to merge 1 commit intoServiceNowDevProgram:mainfrom
Conversation
|
✅ Valid PR for ActionPack Thank you for your contribution. This PR complies with the CONTRIBUTING.md. |
ravichandra1998g
left a comment
There was a problem hiding this comment.
Hello @vhudlikar ,
Can you please add error evaluation step for this action to make the action more efficient.
Thank you!
Ok will do it. |
|
I have not closed this PR. Thank you! |
|
Closing this PR for now. Please reopen or create a new PR after making necessary changes. |
This is a Action that handles the tag creation part of the feature. #6
Inputs needed for this action.
primary_tableincident).primary_queryactive=true^priority=1).primary_fieldsnumber,short_description).primary_join_fieldcaller_id).joined_tablesys_user).joined_join_fieldsys_id).joined_fieldsname,email).joined_queryactive=true).Logic
Output
Testing Result:

Before running action below was filter data I took.
Below is input given to action:

And now final output in JSON string format

[ { "number": "INC0010003", "short_description": "Antivirus not working", "name": "Abraham Lincoln", "email": "abraham.lincoln@example.com" }, { "number": "INC0010010", "short_description": "P1 ticket", "name": "Abraham Lincoln", "email": "abraham.lincoln@example.com" }, { "number": "INC0000054", "short_description": "SAP Materials Management is slow or there is an outage", "name": "Christen Mitchell", "email": "christen.mitchell@example.com" }, { "number": "INC0010004", "short_description": "test ticket 2", "name": "Abraham Lincoln", "email": "abraham.lincoln@example.com" }, { "number": "INC0010005", "short_description": "test ticket 1", "name": "Abraham Lincoln", "email": "abraham.lincoln@example.com" }, { "number": "INC0007001", "short_description": "Employee payroll application server is down.", "name": "David Miller", "email": "david.miller@example.com" } ]