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.
#827785
Hello,
I am working on a workflow where I need to add two dependent dropdown lists let’s named them: DDL 1 and DDL2 as follow:
1. The first list is populated from a array of values where they generated from trigger fire before Dynaform: @=itemListArray[]= array($item, $item);
2. The user should choose a value from the list.
3. Automatically the second list DDL2 should be updated. We need to get the value selected and then run a trigger to get other elements and then store them in another array of values associated to DDL2.
It is very easy and straight forward to implement this requirement working with SQL and PM Tables, however, setting dependent fields with data source: array variables
Can you help me to implement this requirement?
Kind Regards.

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

Found the solution here: https://www.pmusers.com/i[…]

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

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