Step ProcessAskY1
- Create a step called
ProcessAskY1
displaying the previously created opportunity and ask the user to create opportunity participants, >> ProcessAsk. As soon as at least one participant is added, the user can exit the process. - Select the action (
ProcessAsk
) and define its input arguments:- The
name
of the Process Ask configurationProcessAskY1
, >> Process Ask Configuration ProcessAskY1.
Get the necessary parameters for the Process Ask page from the process storage:
- the opportunity record's
uid
for the Expand view - the current participants count (
Y2Count
) for the text -
Y2State
evaluating if the minimum number of participants has been reached - only then the process can be completed.
- The
- Define the Dispatching depending on the buttons defined in the Process Ask configuration:
- Event 1: The user clicks the Add Participant button. This calls
CreateY2
as Next Step. - Event 2: The user clicks the Show Opportunity button. This calls
ViewRecord->Exit
and ends the process, >> ViewRecord->Exit.Since a
ProcessAsk
step does not provideuid
as output argument you need to get theuid
forViewRecord->Exit
from the process storage:
- Event 1: The user clicks the Add Participant button. This calls