Copying a form after it has been approve

382 views
Skip to first unread message

Somjit Banerjee

unread,
Jan 13, 2016, 4:54:01 AM1/13/16
to Fujitsu RunMyProcess Developer Community
Hi Team,

I am trying have a copy feature,i.e when the ticket has been approved. This scenario came to the picture beacuse sometimes user, just need to change a specific field from the previous ticket, and rest other fieds values remain the same, in the form.

According to the logic,after the ticket has been finally approved, there will be a copy button, for the user, by cliking which he can copy the entire form, and after the user submits the copied form it will start a fresh process.

Can you please suggest me how to do it?


Regards,

Somjit

Pankaj Kumar

unread,
Jan 14, 2016, 6:22:19 AM1/14/16
to Fujitsu RunMyProcess Developer Community
Hi,

All the data is saved in process instance, if you have the process id, please use the connector 

Provider:- RunMyProcess - Secured Connection
Connector:- Get details of a process instance

Using this connector, you get all the info of the request.

You can create a CAPI with the connector and get the required fields info to populate.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/af795b0f-c4b5-4c77-9522-e3de765bad50%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Somjit Banerjee

unread,
Jan 20, 2016, 4:18:29 AM1/20/16
to Fujitsu RunMyProcess Developer Community, somjit-ban...@lafargeholcim.com
Hi Pankaj,

Can you please explain me a little how can i populate the values into the new form after i have them through the CAPI from the previous form?


Regards

Pankaj Kumar

unread,
Jan 24, 2016, 2:59:36 PM1/24/16
to Fujitsu RunMyProcess Developer Community
Hi Somjit,

Once you received the content of the previously submitted form through the CAPI, Please formulate the web interface url as follows:-


Where input1 and input2 are the widget id used in the form and value1,value2 retrieved by CAPI of old form values.i.e. if a form have widget with ids "input1" and "input2". this way you need to pass all the values of the previous form as query parameter in the url.

Please open this url in new tab or windows using the java script. on opening the url with above query parameter (like in above url), input1 and input2 widget will be auto populated with values value1 and value2.


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
Reply all
Reply to author
Forward
0 new messages