Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10131

Using Java API, I can set removal time for standalone decisions asynchronously

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.11.0, 7.11.0-alpha5
    • None
    • engine
    • None

    Description

      AT

      • Removal time is calculated based on the engine's configuration settings for the removal time strategy (start, end, none) and the TTL of the decision definition:
        Batch batch = historyService.setRemovalTimeToHistoricDecisionInstancesAsync()
              .byQuery(query)
              .calculatedRemovalTime()
              .executeAsync();
        
        • if removal time strategy is set to ...
          • start or end: removal time = evaluation time + TTL
          • none: no update is performed
      • Removal time can be set to an absolute value or to null:
        Batch batch = historyService.setRemovalTimeToHistoricDecisionInstancesAsync()
              .byQuery(query)
              .absoluteRemovalTime(new Date())
              .executeAsync();
        
        • the engine's configuration settings in terms of the removal time strategy (start, end, none) are disrespected
      • the fluent builder offers a flag #hierarchical; All instances which are present in the hierarchy are updated
      • Throw BadUserRequestException if ...
        • no historic decision instances can be found
        • no mode (i. e. calculatedRemovalTime / absoluteRemovalTime) was selected
        • no query was defined

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tassilo.weidner Tassilo Weidner
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce