How do you implement the constructor of the process?

Everyone, Hello!

Guys who can tell you how to find information on the topic creation Drag'n'drop variable funnels, or rather of the whole process?

Maybe someone faced with the implementation of visual programming processes, which are constantly monitored some events? For example, the client opened the letter 1, we are notified that the letter has been read, we wait for 2-3 minutes (the period we decide) and pull the event, which is sent with letter 2, if not read the Letter 1, we his helmet letter 3. If the person in the letter 2 passed by reference and made an order, the system sets the task Manager that it is necessary to call the client.

Understand that it is difficult describe the issue, make an outline of what you want to achieve , the scheme is here

If someone implemented a task like this, please distribute the links, what to study/read, as is better to structure your database, how best to circumvent the process in order to capture events as possible to implement Drag'n'drop functionality for visual programming blocks?

Interested in any information on the implementation of this task, thank you in advance!
March 19th 20 at 09:06
2 answers
March 19th 20 at 09:08
Solution
Since you are so confuse then Google BPM (business process modeling) is a more General approach, but with a very well developed theory and there are even libraries for implementation on its basis something.
With triggers, the state of the process, different in type nodes and all sorts of other things.

If you do not want to bother - gather what will be in the knee to work is a very high probability that it will come and will remain for a long time :)
Thank you for your response) Very valuable!) Please tell me how best such data is to be stored in the database? In the form of a serialized array or something better to do?) I think that will be a MySQL database. Never dealt with this topic, so now looking for any information to dive into it and write a test application to implement multiple business processes) - Onie53 commented on March 19th 20 at 09:11
@Onie53, there are different objects respectively, need different tables for each type - has its own table. don't know what you mean by a serialized array.
You can take any opensourcenow the implementation of bpm, and see in what form are the data there would be a good starting point. - agustina_Legr commented on March 19th 20 at 09:14
@agustina_Legr, thank you for reply) I will continue to dig this topic)) - Onie53 commented on March 19th 20 at 09:17
March 19th 20 at 09:10
Solution
There is a ready engine of business processes and services that all these problems are solved. Technically, a BPEL specification of executable business processes.
Thank you for your answer! You said "there is a ready engine of business processes" - can you give the name in an example or can share the link? Google the topic, found only camunda, but not yet dealt with it. - Onie53 commented on March 19th 20 at 09:13
work flow engine
awesome workflow engines - Jett.Wate commented on March 19th 20 at 09:16
@Jett.Wate, thank you) I Will learn) - Onie53 commented on March 19th 20 at 09:19

Find more questions by tags Modeling business processesWeb Development