Create process model to create a record type "Order" and multiple record types "Product Variation"

Hello everyone. I am new in Appian and am trying to build a web app "Canteen" as part of my learning path.

Couldn't find anything in other posts as I don't know how to search it.

So my issue is the following...

I have a Canteen Menu where each user can select products to add in the cart. On the interface I build a list of

product variations (with a tempId in order to update something since I haven't saved anything on DB). When I press

the "Place Order" button, I want to create a new "Order" with some fields and then get the ID of the created record.

Then I will use the orderId and create the related "Product Variations" from the selected products list.

How can I do this in the process model?

     

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to christodoulosp0001
    I have the related record functions created from the beginning but don't know If I can use them again to combine my processes...

    Yes you can use them , Appian Creates Basic Interface and PM when we click on Generate Actions . We can Customise as per the requirement. 

    I think what Harshit said above is what will be the solution but still struggling...

    If you are not maintaining relationship between Order and Product variation your PM gonna look like this

    If you are maintaining relation One write Records is enough it map's the generated key automatically.PM gonna look like this

Children
No Data