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

Moderator: amosbatto

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
#824275
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
#824294
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
#824337
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.

Hi Amos, It works but was not able to see what I […]

Thank you so much

Web Design Palm Beach Gardens

Web designing is a very important part of content […]

fiqihpunya, What version of PM are you using? Ar[…]