Relationship between CI in Change Request and Change Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 09:56 PM
Hi,
I have one requirement,
Popup message when user tried to delete CI from Affected CI list which is configured as Primary CI in any of the OPEN change task then below confirmation box should appear with message as :
Selected CI <<name of the CI which is getting deleted>> cannot be removed as it is currently being used as the primary CI in related open Change Task.
Please click YES to proceed to update the Change Task Primary CI with Change Request primary CI.
If user clicks on Yes, update the related change tasks by changing primary CI same as Change Primary CI.
If user clicks on Cancel, DO nothing.
below are the business rule but it's not showing Popup message. can anyone plz help me on this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 10:21 PM
HI @Arun33
BR runs on the server side .
So the "comifrm" function can't do your expered action....
You should write the scripts in the delete ui action (client).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 10:57 PM
Hello @Arun33
You cannot have confirmation popup in BR as BR is executed just before the record is getting deleted or just after the record is deleted from respective table. Since this is executed at server side you cannot make the delete operations to wait for user's confirmation. Hence you need to use UI action.
You need to modify the existing delete UI action that you are using to delete the CI or you may need to create a new UI action. I would suggest to create a new UI action with the same action name that currently you are using to delete the CI record from Affected CI related list.