Can I pass a parameter to a process model from an application action? I have a

Can I pass a parameter to a process model from an application action? I have a generic process and I need to pass a parameter from an application action if i want to create an item, or a different parameter from a related action if I want to edit an item.

OriginalPostID-222590

OriginalPostID-222590

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    Yes, it's possible.
    Please follow the below steps:
    1. Create the process model.
    2. Configure the process variables to be passed as parameter.
    3. Delete the process start form.
    4. Configure PM as action & Related action.
    5. Action will have all the pv as Null (integer will set to 0) as it starts and Related action will have values from the Record.
    6. Now have an XOR to check the values in the pv and decide whether the PM was triggered from related action or action.
    Let me know if you need more details.
Reply
  • 0
    Certified Senior Developer
    Yes, it's possible.
    Please follow the below steps:
    1. Create the process model.
    2. Configure the process variables to be passed as parameter.
    3. Delete the process start form.
    4. Configure PM as action & Related action.
    5. Action will have all the pv as Null (integer will set to 0) as it starts and Related action will have values from the Record.
    6. Now have an XOR to check the values in the pv and decide whether the PM was triggered from related action or action.
    Let me know if you need more details.
Children
No Data