11-17-2011 06:06 PM
Form Behaviour "When Form Is Submitted"
When the form is submitted any script manager ISF assigned to this form behaviour is triggered. However, does the same script get triggered during approve/reject actions.
I have experienced that sometimes it does and sometimes it doesn't.
Please advise. Thanks in advance.
11-17-2011 06:06 PM
Each of those actions are essentially performing the same event just sending different data to the application. They should all be performing a submit event for each approve, reject, update, done or order button that is clicked.
Do you segregate your script based off of system moment? This may be a possibility as to why it only executes at certain points in the request lifecycle.
11-17-2011 06:06 PM
I agree - I thought that this was the case, however, I have found that the script does not execute when you click on the [Approve] button - but if I click [Update] button the script executes.
Strange!
Can anyone shed some light on this please.
11-17-2011 06:06 PM
UPDATE: POST the data to: /RequestCenter/myservices/requisition.do?....
APPROVE: POST the data to: /RequestCenter/myservices/authorizationservices.do?&formAction=approve
They are different components of the app handling the 2 different POSTs
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide