Discussion
Mphasis
IN
Last activity: 6 Oct 2015 15:22 EDT
Form Submit on click of button in New Harness
Hi,
I have a repeat grid in New harness . Repeat grid also contains button for each row. On click of this button , I have a specific requirement to only call an activity which will create a work object and submit the current form.Can we achieve this through a single activity?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Incessant
AU
Write the WO creation and logic in your activity and make it parameterised to pas the index for which you are creating WO.
NIIT Technologies Limited
AU
On click of button, configure two actions
1) Run activity - which will create work object
2) Finish Assignment - which will submit the current form
Virtusa Corp.
US
You can achieve using single activity, in that activity add steps to create a new work object, next either u can call finish assingnment in that activity or in that button add second action as finish assignment.
Mphasis
IN
Thanks all for the reply.
Requirement is to have only one event on button click. So, I am calling only an activity.
I tried Finish Assignment, but it is not working.
Will Finish Assignment work here, as I am clicking on a button in a grid which is in new harness and no assignment will be available in New Harness?
Virtusa Corp.
US
What version of Pega are you using.
Are you just showing harness with row repeat, set click event for button set two actions 1) create work provide class name and flow name parameters 2) Cancel action.
It will create a new work object and closes the harness.
Mphasis
IN
I am using Pega 7.1.7
Bank of America
US
HI All,
Just one more question, is it possible to open newly created WO in new tab?
Regards,
Rohit