Skip to Content
Product Information
Author's profile photo Sebastian Bach

Rework Activities in Flexible Workflows

Thanks to our Product Management&Product Owner I can sum up some insights on Rework Activities in Flexible Workflows.

To be at the same page we can use Rework Steps in Flexible Workflow as Building Blogs for the Business User which defines the Workflow based on in “Manage Workflows”.

Activities for Exception Handling are part of the Flexible Workflow Scenario. There’s a property of the step to expose that activity only as an outcome action activity and not as a process step. They are defined as any other reusable activity, only that they must have a fixed agent defined. Then they are exposed as outcome action:

Currently only predefined actions are accepted by the framework:

  1. Cancel workflow,
  2. Continue
  3. Repeat step
  4. Restart workflow

In the application callback the scenario developer can reduce that list for the whole scenario, meaning for each reusable activity.

Soon additionally, you can overwrite that configuration (either the standard config or the one developed in the callback) for a specific step, in SWDD_SCENARIO (Important note: this is actual not available so an outlook in 2020!!!):

There’s no “go to” at the moment and in this example only “repeat previous step” or “start again from the beginning” (“Cancel” and “Continue” for that rework activity is deactivated). The action result than is configured by the business process expert in Manage Workflows (depending on if it is available).

For Scenario Developers there is beside redefining methods the possibility to work with an Exit-Class.

Being able to have a custom action is already a requirement in the backlog.

So, stay healthy, stay tuned.

Assigned tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mostafa Naghizadeh
      Mostafa Naghizadeh

      Dear Sebastian,

      https://answers.sap.com/questions/13079330/sap-flexible-workflow-extension.html

      I asked a question about 'goto Step' Action.

      However As you said it is not available right now and I couldn't find a document on Flex_Engine to help me to do some modification and pass 'action_param' to runtime class.

      We decided to Move to Flex WF, But there are some serious limitations.

      any help or advice on this would be appreciated

      I work on S4/Hana 1909 FPS02.