Skip to Content

Dynamically change the Standard Task ID without creating separate step. This is used to create different folders in SAP Inbox which helps the SAP User to identify work based on crietia for which the Task is created. This is heavily used for enhance SAP Inbox to have similar functionality as SAP Opentext VIM.

container element creation.PNG

First create the above container element

Then Locate the task where you wish to have the enhancement.

step to put the task.PNG

Here is the documemntation

Please read it before using. Important thing the interface should be the same of both task ideally it should be a copy with some changes.

How is ad hoc task assignment used?

The expression entered must contain the task of this activity that is to be executed at runtime. If the expression is empty at runtime, then the task entered on the Control tab page is executed instead. This task also specifies the interface that the task contained in the expression must support so that the binding between the Workflow container and task container can be executed.

By using the Ad hoc: Include “Swap Task” wizard, you can create an activity that an agent can use at runtime to select the task to be used in this step from a task group.

FYI Moderator The above documentation was copied from SAP as it cannot be properly taken in a screenshot.

step to put the task1.PNG

Set task.PNG

The contaner element is assigned the above task Id

Task1.PNG

Here is the original task Id that will be swapped by the below task id.

Task2.PNG

Here is the design

Design.PNG

Lets Test

test.PNG

Execute and check in SAP Inbox

sap inbox1.PNG

Now lets reject it

Reject.PNG

Please note that the next workitem will appear in a different folder test duplicate.

sap inbox2 with new folder.PNG

Check the Task Container of the workitem which reveals the actual task Id

workflow container.PNG

This is very helpful when the client wishes to have different folders and not use dynamic columns instead. It gives them the same feeling of SAP OpenText Vim with flexibility to enhance

Thanks

Arghadip

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply