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

Moderator: 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 BarryAF

I'm very new and very inexperienced but i'm hoping you can help (in simple terms)

I have a process that is for a new customer order. depending on the type of service offering checked within a dynaform, this opens up the relevant grid to input the order details.

What I would like is for each row that is filled in on that grid; a separate sub-process is triggered (i.e. 3 rows = 3 sub-processes) with the info pulled from that line into the sub-process)

The task that fills in the grid id the last step in the customer order process, so there is no need for anything from these sub-processes to be fed back in.

I can provide more info if needed, but I'm just exploring at the moment and don't have a finished process to share, just bits. I'm also very inexperienced with coding. purely only bits I've picked up from this forum

Thanks in advance

I understand your question, what you can do is the following:
Once you completed registration on the grid and submit the form, you have to run a trigger in which you cycle through the grid row by row using a for, where each row creates a new case using the PMFNewCase function.
You can find information about the PMFNewCase function at the following link:
Also you can need to review the following information about trigger on processmaker:

Best Regards, Ricardo.

Sometimes the data comes from a user, like when a […]

Found the solution here:[…]

Learn what's new in ProcessMaker 3.6! We are proud[…]

Hello, I have a case that appears both as comple[…]