Execution Plan Tasks - how to set up 'task type'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 06:59 AM - edited 07-15-2024 05:54 AM
Hi All,
I am currently working on the execution plan tasks for the change request table(Parent Table) & change task(task table).
The task was created successfully in the change record. the only issue was the task that was created, it was created with 'State = Pending' & also we need to assign the Task (change_task_type) field to a defined value while creating the tasks using execution plan tasks.
Can you help me with how i can set the State to Open whenever a change task is created and the task type to a certain value when it is created by using the execution plan tasks?
Can we use the 'Generation Script' for this? Or there is another way to do this?
Thanks in advance.
UPDATE - The issue is now resolved by applying the business rule on the change table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 07:07 AM - edited 04-16-2024 07:08 AM
Hi @Aakanksha Kotti ,
Please check below documentation it will be helpful -
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 07:33 AM
Hi @Astik Thombare ,
Thank you for your response, but unfortunately this does not resolve my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 08:14 AM - edited 04-16-2024 08:15 AM
Hello @Aakanksha Kotti ,
Yes, in order to change the "state," you must use a create script. However, in the case of "Assigned to," this may be done directly with the aid of fields;
please refer to the screenshot below for guidance.
I've created a task that is assigning a task to Abel tuter . you can also make it dynamic by using generation script .
In case of changing 'state' you need to write below generation script
current.state = 2 ; /// changing state of task to 'in progress '
Once Change is created below task will be created with defined fields
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 08:19 AM
I am having the issue with the 'Task Type'.
The assigned to field is not an issue in this scenario.
Thanks for your help.