PA52 Can multiple flows be kicked off from the supplied trigger?

 5 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Gene B.
Basic Member
Posts: 12
Basic Member
    I am new to Process Flow. When the Use Workflow parameter in PA50.1 is set to Y I understand it kicks off an "Action Approval" supplied by Lawson. The flow and service gets named the same as the Action.
    Can more than one flow be kicked off this way for the same action?
    For instance an approval flow but also a separate flow to send email notifications?
    KK - Infor
    Veteran Member
    Posts: 61
    Veteran Member
      There are multiple ways to achieve this.
      Easiest - attach the flows you want to kick off using - 'Service Process Definitions' screen.

      Hope this helps!
      Gene B.
      Basic Member
      Posts: 12
      Basic Member
        Yes it does. Thank You
        BarbR
        Veteran Member
        Posts: 306
        Veteran Member
          Be aware that KK's solution will trigger both flows every time. If there is any chance that flow #1 could reject the action, flow #2 will run anyway and do notifications. My recommendation would be to have flow #1 trigger the service for flow #2 at an appropriate time. Or better yet - why would this not just be a single flow that does everything?
          Kenn
          Basic Member
          Posts: 11
          Basic Member
            I concur with Barb.  Unless there is a good reason to run a separate flow, put the email notification in the same flow.  If there is a success/failure possibility, then use a branch node and send different emails with status updates for the user (success/fail).
            Gene B.
            Basic Member
            Posts: 12
            Basic Member
              Thank You for the additional information.