Interface ProcessScenario

    • Method Detail

      • waitsAtUserTask

        UserTaskAction waitsAtUserTask​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the user task (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the user task reached.
        Returns:
        action to be executed when process reaches the user task (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.0.0-Final
      • waitsAtTimerIntermediateEvent

        TimerIntermediateEventAction waitsAtTimerIntermediateEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the timer intermediate event (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the timer intermediate event reached.
        Returns:
        action to be executed when process reaches the timer intermediate event (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.0.0-Final
      • waitsAtMessageIntermediateCatchEvent

        MessageIntermediateCatchEventAction waitsAtMessageIntermediateCatchEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the message intermediate catch event (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the message intermediate catch event reached.
        Returns:
        action to be executed when process reaches the message intermediate catch event (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.0.0-Final
      • waitsAtReceiveTask

        ReceiveTaskAction waitsAtReceiveTask​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the receive task (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the receive task reached.
        Returns:
        action to be executed when process reaches the receive task (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.1.0-Final (as message event subscription)
      • waitsAtSignalIntermediateCatchEvent

        SignalIntermediateCatchEventAction waitsAtSignalIntermediateCatchEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the signal intermediate catch event (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the signal intermediate catch event reached.
        Returns:
        action to be executed when process reaches the signal intermediate catch event (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.0.0-Final
      • runsCallActivity

        Runner runsCallActivity​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process runs the call activity with the activity id provided.
        Parameters:
        activityId - the activity id of the call activity.
        Returns:
        scenario runner to be executed when process runs the call activity with the activity id provided.
        Since:
        Camunda BPM 7.0.0-Final
      • waitsAtMockedCallActivity

        MockedCallActivityAction waitsAtMockedCallActivity​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the mocked call activity (wait state) with the activity id provided.
        Parameters:
        activityId - the activity id of the signal intermediate catch event reached.
        Returns:
        action to be executed when process reaches the mocked call activity (wait state) with the activity id provided.
        Since:
        Camunda BPM 7.4.0
      • waitsAtEventBasedGateway

        EventBasedGatewayAction waitsAtEventBasedGateway​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the event based gateway (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the event based gateway reached.
        Returns:
        action to be executed when process reaches the event based gateway (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.1.0-Final
      • waitsAtServiceTask

        ServiceTaskAction waitsAtServiceTask​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the service task (waitstate) with the activity id provided. Note that a service task is only a waitstate in case you implement it by means of a Camunda BPM ExternalTask.
        Parameters:
        activityId - the activity id of the send task (external task) reached.
        Returns:
        action to be executed when process reaches the service task (external task waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.4.0
      • waitsAtSendTask

        SendTaskAction waitsAtSendTask​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the send task (waitstate) with the activity id provided. Note that a send task is only a waitstate in case you implement it by means of a Camunda BPM ExternalTask.
        Parameters:
        activityId - the activity id of the send task (external task) reached.
        Returns:
        action to be executed when process reaches the service task (external task waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.5.0
      • waitsAtMessageIntermediateThrowEvent

        MessageIntermediateThrowEventAction waitsAtMessageIntermediateThrowEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the message intermediate throw event (waitstate) with the activity id provided. Note that a message intermediate throw event is only a waitstate in case you implement it by means of a Camunda BPM ExternalTask.
        Parameters:
        activityId - the activity id of the message intermediate throw event (external task) reached.
        Returns:
        action to be executed when process reaches the message intermediate throw event (external task waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.5.0
      • waitsAtMessageEndEvent

        MessageEndEventAction waitsAtMessageEndEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the message end event (waitstate) with the activity id provided. Note that a message intermediate throw event is only a waitstate in case you implement it by means of a Camunda BPM ExternalTask.
        Parameters:
        activityId - the activity id of the message end event (external task) reached.
        Returns:
        action to be executed when process reaches the message end event (external task waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.5.0
      • waitsAtBusinessRuleTask

        BusinessRuleTaskAction waitsAtBusinessRuleTask​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the business rule task (waitstate) with the activity id provided. Note that a business rule task is only a waitstate in case you implement it by means of a Camunda BPM ExternalTask.
        Parameters:
        activityId - the activity id of the business rule task (external task) reached.
        Returns:
        action to be executed when process reaches the business rule task (external task waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.5.0
      • waitsAtConditionalIntermediateEvent

        ConditionalIntermediateEventAction waitsAtConditionalIntermediateEvent​(String activityId)
        By implementing - or stubbing/mocking - this method, you define what should be done when the process reaches the conditional intermediate event (waitstate) with the activity id provided.
        Parameters:
        activityId - the activity id of the conditional intermediate event reached.
        Returns:
        action to be executed when process reaches the conditional intermediate event (waitstate) with the activity id provided.
        Since:
        Camunda BPM 7.6.0