Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By Vysakh
Hi ,

I have used same Dynaforms in 2 task, I want to retrieve the data from a grid from the two tasks separately. Is there any way to do the same ?
User avatar
By amosbatto
If you want to store the grids in separate variables, then export your dynaform as a .json file. Then, create a new Dynaform and import your .json file into that new Dynaform. Then, change the variable for the grid. Then, delete the old Dynaform from the second task and replace it with the new Dynaform.
Now each grid will use a different variable.
User avatar
By amosbatto
Vysakh wrote:Thank you very much for the information, is there any way to retrieve the previous data of the two tasks separately.
You can save a copy of the values in of the grids.
Create a trigger like this:
@=myGridCopy = @=myGrid;
Set this trigger to fire after the Dynaform which contains the grid is first used.

Where "myGrid" is the name of the variable associated with the grid.

Then, if you want to redisplay the original values in the grid, then create a Dynaform which has a grid associated with the variable "myGridCopy" and add it to some later point your process.

Another thing that you can do is create an Output Document which contains "myGrid" so you preserve a record of the original values in the grid.
issue with processmaker 3.2

Hi, For your answer, Please check the following li[…]

Do you have problem just with this query or any ot[…]

Hi, I need to update my file /opt/processmaker/wo[…]

IOS PUSH Notification

Hi, I need to update my file /opt/processmaker/wo[…]