- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 07:08 AM
Hi All,
I have a requirement on change request that Fill Out Risk Assessment and Execute Risk Calculation do it in one step
I have done the below work which is not worked properly
1) Made 'Execute Risk Calculation' to bussiness rules in change properties
Result: Its worked when change is publish but not working in case of resubmit the 'Fill Out Risk Assessment' UI action when change is in new state
2) add "gsftSubmit(null, g_form.getFormElement(), "execute_risk_calculation");" in "Fill Out Risk Assessment" end of the script
Result : Change form got hung and nothing is returned
As per the google link gsftSubmit(null, g_form.getFormElement() only work in Madrid Patch 5
Please advise how to full fill this request
Thanks in Advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 08:28 AM
Since you want two scripts two run at the same time, why don't you also add'Execute Risk Calculation' Ui action script in a script include and call the script include from the Fill out risk calculation UI Action. That'll make your job easier.
Achieves the same result.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 07:11 AM
you can use first ui action "Action name" field value in second UI Action to trigger it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 08:16 AM
Could you please provide the syntax . I have included below syntax in end of the frist UI Action .
2) add "gsftSubmit(null, g_form.getFormElement(), "execute_risk_calculation");" in "Fill Out Risk Assessment" end of the script
Result : Change form got hung and nothing is returned
As per the google link gsftSubmit(null, g_form.getFormElement() only work in Madrid Patch 5

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 08:28 AM
Since you want two scripts two run at the same time, why don't you also add'Execute Risk Calculation' Ui action script in a script include and call the script include from the Fill out risk calculation UI Action. That'll make your job easier.
Achieves the same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 08:48 AM
Thank you Nitesh. I will try it