Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
348 views

How to trigger a proper save first before clicking a button

Hi,

Do like to seek help/advice.

I had a button (in do -> rm.request.view gui 901)on the request form, which open a wizard,. this  wizard actually take input and write data into a customize table (issueshighlight). 

As my wizard will pull data information from the current request.record, I need ensure that when the user click on the button ticket is being save first before it trigger the wizard.

And if the condition to save the ticket was not met (mandatory condition not met),  the trigger of the wizard will be terminal else ticket will be save and wizard open.

Need advice on how to trigger a save before my wizard?

Regards

Soong 

 

Regards
Soong
0 Likes
3 Replies
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: How to trigger a proper save first before clicking a button

Let the DO call a custom process via the correct State, and check the box "save first".

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: How to trigger a proper save first before clicking a button

Hi Josh,

Thanks for your responce, it is possible to give more detail on how to do it? I mean which custom process should i call ?

And I can't seem to find the save first check box in DO

Regards

Soong 

Regards
Soong
0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: How to trigger a proper save first before clicking a button

You will need to move the "code" in the DO to a new Process. Then, create a new entry in the appropriate State record that links your DO to the Process (an actionName of your liking). I've attached two screenshots that hopefully help clarify this.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.