- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â03-11-2024 07:44 PM
I'm trying to create a custom button to add sc task manually .But its not working.Please find the screenshot
On clicking the button, a pop up is coming showing "no records selected" and on selecting the existing task record, and then clicking "create new task " button it is duplicating everything with that of previous task.
Below is the UI Action script i created on sc_task table.Please help me to correct the script so that I can seamlesly add task without any pop ups and records should not be duplicated.Atleast the SCTask number should'nt be duplicated.
Thanks,
Sajal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â03-11-2024 11:11 PM
Create UI action on RITM instead of on sc_task table and map the current record sys_id on request item field on task table. It will create manual task and automatically attached to your RITM.
Please mark my answer as Accepted as Solution & hit helpful button if it helped you.
Thanks,
Shikha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â03-11-2024 09:40 PM
Hi Sajal,
Are you sure that your custom UI action is creating duplicate task?
In your script I do not see RITM number mapping to Task field so may be some other script is there to create the task with RITM number could you please check that.
And I tried replicating same in my PDI and it is creating the task with different task number.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â03-11-2024 11:11 PM
Create UI action on RITM instead of on sc_task table and map the current record sys_id on request item field on task table. It will create manual task and automatically attached to your RITM.
Please mark my answer as Accepted as Solution & hit helpful button if it helped you.
Thanks,
Shikha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â03-20-2024 04:32 AM
Please Mark this Helpful and Accepted Solution in order to close this thread.
Thanks & Regards,
Shikha Tyagi