How to remove the Invalid Insert message from setabortmethod function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 02:32 AM - edited ‎03-20-2024 02:40 AM
Hello,
As i am working on the change management there is a requirement that if the state is implement and user try to move it to the review state before that all 'change tasks' should be closed if not then we are restricting the user to move the state to review via business rule, and in that business rule we have used setabortaction method.
As it does not explain the error fully so we have added one error message Now our client doesn't want to see that message and asked to remove that but as it is OOB how we can remove it
If we can then please let me know how
and if we can not then is there any other way to achieve the same scenario
Please help.
Thanks,
Atik Bagwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 02:51 AM
Hi @Atik,
As @Harish KM has mentioned, the 'Invalid update' message is passed back from the 'setAbortAction(true)' method call.
Sadly, as the status update to Review involves checking at the server side, nothing springs to mind how we can bypass this check and abort whilst still ensuring data integrity within the child 'Change task(s)'.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie