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 richvle
#826942
Hi, I have a primary grid control called "GridUserApp". This grid is populated with users and the different departments they are assigned to (ex. Art, Publishing, Marketing, etc).

The process then generates parallel tasks, and assigns them to the various heads of each departments.

The different department heads should see a filtered list from GridUserApp of only users that are actually assigned to the department they are looking at. I was hoping that if I can filter the list, then the department heads can only modify records that were associated with them. What's the best approach for this?

I tried creating additional grid controls such as GridUserApp_Art, GridUserApp_Publishing, GridUserApp_Marketing, GridUserApp_etc..... and then copy the rows over where the department matches on a filter. And in the end, when it's all done, I was going to copy the results back to the primary grid contorl GridUserApp.
User avatar
By programerboy
#826951
Hi,

You must create a grid for example @=tempGrid exactly like your main grid, then assign this grid to your dynaform of parallel task.
In the trigger before this dynaform you must write a code that filter main grid related to this user and set it to tempGrid.
Therefore every user can see only self records and then in trigger after dynaform update similar records in main grid

https://www.youtube.com/channel/UCYiyz1 ... jMXodwH1iw
Thanks

Hi, In order to delete a case you can follow the[…]

Hi. Have you tried to use JavaScript on your Dyn[…]

Hi Please, could you send information about the c[…]

Dashboard issue

Can you show me what you were trying to do in orde[…]