Question

5
Replies
752
Views
AMITTUTUN Member since 2011 62 posts
JKTechnosoft
Posted: 3 years ago
Last activity: 3 years 1 month ago
Closed

Close button not working

I have a close tab button and I need to run an activity or data transform when user click on close button. Now there is a requirement that when user click on close the application need to show a confirm message whether user really want to close the tab or not and select "Ok" and "Cancel". I used run script in the action tab as a first action and called that js function where message is displayed. But the problem is the server is not waiting for the return of js function; it just shows the message and automatically close the work object running the subsequent data transform and activity. How will I hold this close action and prevent it from submission onclick of Cancel.

Note: javascript is returning false when user click on Cancel still we cannot prevent it from closing the work object.

***Updated by moderator: Lochan to update Categories***

User Interface
Moderation Team has archived post
Share this page LinkedIn