Fetch dynamic value from decision table#1920
Fetch dynamic value from decision table#1920earlduque merged 6 commits intoServiceNowDevProgram:mainfrom
Conversation
Creating task when button is clicked with the same details added in Incident ticket.
If we want to have a scenario like based on "FieldA" of big list of comma separated values, We need to provide its relevant "FieldB" value, Which need not to be repeated again and the key value pair is huge and often changing, In that case we can make use of decision table to fetch key value pair without interrupting any scripts and saving value in "FieldB" which will get changed according to "FieldA" value as it is a calculated field.
|
Hi @Vishnu-rvk Thank you for your contribution. Thanks |
|
Hi @shreyawani98, The 'CreateTask' was created as part of last year Hacktoberfest, And I'm unsure of how to remove it now, Can you please help me removing it, Thanks. |
|
Hi @Vishnu-rvk Please refer to the screenshot below for guidance. Navigate to the Files changed section and scroll to the ‘CreateTask’ file.
Thanks |
earlduque
left a comment
There was a problem hiding this comment.
I went ahead and did the changes for you. Looks great. Thank you for doing that contribution. We look forward to seeing more contributions from you.

PR Description: If we want to have a scenario like based on "Field1" of big list of comma separated values, We need to provide its relevant "Field2" value, Which need not to be repeated again and the key value pair is huge and often changing, In that case we can make use of decision table to fetch key value pair without interrupting any scripts and saving value in "Field2" which will get changed according to "Field1" value as it is a calculated field.
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation