Interface ModificationBuilder

    • Method Detail

      • cancelAllForActivity

        ModificationBuilder cancelAllForActivity​(java.lang.String activityId)

        Submits the instruction:

        Cancel all instances of the given activity in an arbitrary order, which are:

        • activity instances of that activity
        • transition instances entering or leaving that activity

        The cancellation order of the instances is arbitrary

        Parameters:
        activityId - the activity for which all instances should be cancelled
      • cancelAllForActivity

        ModificationBuilder cancelAllForActivity​(java.lang.String activityId,
                                                 boolean cancelCurrentActiveActivityInstances)

        Submits the instruction:

        Cancel all instances of the given activity in an arbitrary order, which are:

        • activity instances of that activity
        • transition instances entering or leaving that activity

        The cancellation order of the instances is arbitrary

        Parameters:
        activityId - the activity for which all instances should be cancelled
        cancelCurrentActiveActivityInstances -
      • processInstanceIds

        ModificationBuilder processInstanceIds​(java.util.List<java.lang.String> processInstanceIds)
        Parameters:
        processInstanceIds - the process instance ids to modify.
      • processInstanceIds

        ModificationBuilder processInstanceIds​(java.lang.String... processInstanceIds)
        Parameters:
        processInstanceIds - the process instance ids to modify.
      • processInstanceQuery

        ModificationBuilder processInstanceQuery​(ProcessInstanceQuery processInstanceQuery)
        Parameters:
        processInstanceQuery - a query which selects the process instances to modify. Query results are restricted to process instances for which the user has Permissions.READ permission.
      • skipCustomListeners

        ModificationBuilder skipCustomListeners()
        Skips custom execution listeners when creating/removing activity instances during modification
      • skipIoMappings

        ModificationBuilder skipIoMappings()
        Skips io mappings when creating/removing activity instances during modification
      • setAnnotation

        ModificationBuilder setAnnotation​(java.lang.String annotation)
        Provides annotation for the current modification.