Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Form Behaviour "When Form Is Submitted"

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.

Everyone's tags (1)
3 REPLIES
Community Member

Form Behaviour "When Form Is Submitted"

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.

Community Member

Form Behaviour "When Form Is Submitted"

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.

Community Member

Form Behaviour "When Form Is Submitted"

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

241
Views
0
Helpful
3
Replies
CreatePlease to create content