Close Complete UI action in wm_task is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2023 11:57 PM - edited 09-05-2023 11:59 PM
Hi All,
Close Complete OOB UI Action in wm_task table is working smoothly for all the authorized users in default view.
But when we change the view, the Close Complete UI action is not working, it is giving following error in console.
Uncaught ReferenceError: SMTask is not defined
In this SMTask is a OOB Script Include. The only thing new we are changing is a view.
It is working in default view but not on our custom view.
Is anyone facing same issue, if yes please share us the solution you have got.
It will be very helpful.
Thanks in advance.
Shrikant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 12:10 AM
Hi @shri5 make sure to check the field changes on the form after changing the View, As It looks like there is field which was sending input parameter to the Script include was missing after changing view.
Just check and Bring the missing field on the form then definitely it works.
Thanks & Regards,
Eswar Chappa
Mark my answer correct and Helpful if this helps you 😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 04:11 AM
@Eswar Chappa Thanks for your reply, I will check and will let you know if it is working or not. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 05:50 AM
Hi @Eswar Chappa ,
I have brought all the fields to the view, now default and the custom view have same number of fields.
I can see, that the script included written in OOB UI action is after the function.
This function is getting executed, but it cannot identify the OOB Script Include which is called after the function.
Thanks,
Shrikant.