Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
masa_139
Product and Topic Expert
Product and Topic Expert

Please find series of documents in the SAP Fiori - My Inbox.


Custom workflow template info:


You are going to integrate the specific task to the My Inbox. Please get following information from customer system.


No

Information

Your scenario

FORMABSENC sample
in this doc

1

Workflow  template ID

#

WS30000015

2

Approval step ID

#

48

3

Step type

Activity or User Decision

Activity

4

Task ID

#

TS30000016

5

Business Object

#

FORMABSENC

6

Approval Method

#

APPROVE

7

Outcomes

Event or Container

Container value

Approve

A

Reject

R

Others

Workflow template ID:


First, you should find out the workflow template ID.

  • You can ask customer to provide the custom workflow template ID
  • You can look at the workflow history log in the production system and find out the workflow template ID.


Transaction: SWI2_FREQ

Select Last 365 days and (Sub)Workflow

You can find the workflow template ID and how many workflow instances have been created.

  • Starting WS######## is workflow template ID.
  • If it starts number 9 like WS9#######, it means custom workflow template.

Write down "Custom workflow template ID is WS9#######".

Step Type, Step No and Task ID.

Transaction: PFTC

Paste the custom workflow template ID without WS.

This document uses the sample workflow template WS30000015.

Open the workflow template in display mode.

Select the button "Workflow Builder".

Find the approval task and double click on it. Screen show Activity.

Write down "Step Type is Activity"

Write down "Step number is 48"

Write down "Approval task ID is TS########.

Outcomes:

Select the outcomes tab. Outcome shows what are options after the approval task is executed.

There are event type and container value type.

Select the listed options and capture the setting.

Write down Approved outcome is container value type. Result value = A

Write down Rejected outcome is container value type. Result value = R

Here is an example for event type.

Object and method.

Go back to the "Control" tab and double click the task ID. TS30000016.

Write down Object type is ######## and the method is ##########

Step 1 has completed. Go to the step 2.

5 Comments