This from my understanding does the same job as the widget button "save document" and also allows us to configure our own callbacks once the task is successful.
I want to do something similar on submit(Update process button). Do we have any JS API in runmyprocess that updates a process?
Regards,
Sowmya
thoshino
unread,
Dec 2, 2014, 6:01:01 PM12/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com, sowm...@gmail.com
Hi,
Your understanding is correct.
And for updating a process there is no JS API.
This is because when you update the process, the web form you are on needs to close/refresh (becomes inactive or show next screen).
Workaround for now is to make a update button, visible or invisible, and set an id to it, and click on it from code.
Like,
$("#id_update_button").click();
Best regards,
Taka
sowm...@gmail.com
unread,
Dec 2, 2014, 9:28:17 PM12/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com
Thanks Taka! But I want to do some post processing after the update process completes successfully on the UI. I was hoping we can specify a callback which will be called after successfully triggering process update. Is this possible?
Regards,
Sowmya
Takafumi Hoshino
unread,
Dec 2, 2014, 9:32:44 PM12/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com
Hi,
In the backend, update process is web service call to the server so it
can be done, but actually what is the processing needed?
I haven't seen so many requests like this before, and it is easiest to
just use the default widgets to update process. Not sure I would
recommend you to go that route.
The update process API is same as Validate manual task connector in
library, under RunMyProcess secured connection provider.