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.
#827846
Hi,

I am working on a process which is an iteration of tasks. But in each iteration, there should have different APP_UID and APP_NUMBER. I could use PMFNewCase() to handle it, i.e. by making each iteration as a case. However, I encounter the following problems.
1) The status of the previous iterations is still "TO_DO" and stay in the Inbox. But I'd like to make it as "Completed" and is removed from the Inbox.
2) The "Case #" near the top left corner is not updated to the current APP_NUMBER.
Attached please find the process of my test on this piece of work.
Grateful if I can be advised how to solve my problem.

Furthermore, grateful if I can be advise what are the differences in using PMFNewCase and PUT /cases/{app_uid}/execute-trigger/{tri_uid} in creating new cases.

Thousand Thanks

During this Covid-19 pandemic, wish everybody Good Health and Take Care

cheers,
Karl
Attachments
(51.69 KiB) Downloaded 54 times

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[…]

Any way I'll be subscribing to your feed and I hop[…]