Automatically receive notification - php sdk camunda

Modeler Logic:

start process with form data, after that approver verify.

  1. if approve, end process.
  2. if not approve, sent again to the requestor (I am stuck here in rest api)

I have successfully initiate the camunda process from REST api in php.

If not approved, how to get notified for correction of data in php side?

can anyone share your thoughts how to achieve this?

Hi @busean,
I guess you can achieve that in few different ways:
a) If not approve you can have a service task or script task that calls your php scripts and tells it to continue
b) If not approve you can have an external task (https://blog.camunda.org/post/2015/11/external-tasks/) and implement a worker in php that checks the external task queue regularly for new work

Hope this gives you some ideas on how to continue.

Best
Felix

1 Like