Skip to main content
April 5, 2024
Question

I have a Process model question

  • April 5, 2024
  • 10 replies
  • 0 views

We have a Process Model with a User Interface step. In the step there is a related action that launches off another Process model. Is there a way for this newly launched process model to notify the main process model when it is done?

    10 replies

    mikes0011
    Brainy
    April 5, 2024

    What exactly do you mean "related action"?  Can you describe the step-by-step user-facing use case, and your expectations, and what you're hoping to accomplish but can't figure out?

    April 5, 2024

    User is working on a task and need to launch another task for some extra work while continuing work on the existing task. When the newly launched task is completed, it needs to notify the task from which it was launched. Does that clarify?

    mikes0011
    Brainy
    April 5, 2024

    What are they doing to "launch another task"?  Is it a button that branches off to a side subprocess?  Is it a record action?  Is it a start process link?  ....?

    jayaprakashr0001
    April 8, 2024

    When you click on related action the data that is present in the process User Input task has to pass to the related action. AFAIK if we are starting a process inside a task we can't notify to the parent task screen.

    April 8, 2024

    Either Try To Do Conditional Data Parameter pass Using If Else Conditions using write Record Smart Functions. No Need to Go To Process Model Smart Services as they also have on success Parameter .

    Or Try to Do All on interface and Make A start Process and Try to Capture the Resultant Using  fv!processInfo.pv  in Your Save into parameter and Once you Get it In Local Variable Process Based On THe Data as this Will Be the Latest Data .

    Else if You Go using Any Other Approach data will not be latest as the Process(screen) need to Be refreshed for Latest Data in your variables.

    Try Start Process using Conditional UI and Get data using fv!processInfo.pv and Play with it .

    harshk1671
    April 8, 2024

    Not sure your exact use case, but you can try following:

    Trigger main process and on the UIT give a button or submitlink to start next activity. This will complete the main process and call the next process as a subprocess. Once subprocess completes revert the flow to main UIT or call the main process again from sub process.

    But if you can elaborate what exactly you try to achieve then there can be simpler option available.