Hello,

I hope someone can help me or guide me with this. I am trying to create a simple model, where the user can check past order before ordering. I am mostly just interested on how to retrieve data from past orders to use it in the model.

Thank you.

Orders.yawl (12.57 KB)

Hi,

I have looked at your specification. From what I understand you have an ordering process where in every case you have exactly one order. Past orders are not part of the data of every single case because they have been created by different cases.

I would proceed as follows:

1) Create a datatype for orders in the data definitions using XSD.

2) Write a codelet that persists an order in a database.

3) Extend the workflow such that the new order is persisted and the past orders are retrieved from the database.

Hi,

Thank you very much for your reply. This has been very helpful. I will try the steps suggested. Thank you again.