I’m a big fan of the Workflow Service. Even so, I’ve thought hard to come up with some suggestions for SAP to make it even better. This post is part of a series on the Workflow Service.
- It should be easier to start workflow B from workflow A. I decided to split my workflow into two as it’s quite complex and contains a large number of objects. The first workflow handles approval (that’s my workflow A). At final approval I start the 2nd workflow and it handles the creation of objects in S/4HANA Cloud (that’s my workflow B). The only way I could see to start the 2nd workflow was just to add a service task and call the Workflow API. This means I have to handle to security aspect myself. Couldn’t we just have a new object in the palette to start a new workflow? We could just list the definition name and a variable containing the new context.
- There are quite a few fields to fill in a Service Task and often there are multiple ones with similar values. It would be great if I could copy and paste Service Tasks (and maybe User Tasks too) in the Workflow Editor. Sure, I can do this in the Code Editor but it’s a little bit awkward.
- In the absence of a copy/paste for tasks I often switch between tasks to copy individual properties. It’s annoying that Web IDE always shows the first tab (‘General’) of the properties for that object, regardless of which tab you had selected previously.
- The path value in a Service Task is often quite long but the field in the properties tab is only a single line. It would be much better if this was a text area with wrapping so that we could see the whole path and we wouldn’t need so much horizontal scrolling.
- In a Service Task there’s a wizard for connecting to a standard service in the API Business Hub but this never works for me. To be specific the search never returns any results
- Why is 1 minute the shortest duration before a boundary timer is triggered? If 1 second was allowed it might make certain scenarios easier (e.g. sending an email notification immediately after a User Task was created).
- With the Code Editor I can see a section called com.sap.bpm.wfs.LastIDs. This doesn’t seem to get updated when you delete objects in your workflow and on occasion it needs manually editing to prevent errors.