Hi,
In LN im developing custome BODs which are working fine. i want to view the flow of approvals in 'Task Viewer' same as standard Purchase order flow or sale order , etc.
@Sameer
Your CustomBOD is based on a Sync BOD concept using the ION Activation Policy in combination with ION Workflow. This approval concept is not using the OCM Workflow concept and hence there will be no shadow tables/records created using a GUID for the related LN table. The GUID field is used as input for the Task Viewer. Via the GUID is lookups the WorkflowID in the table ttocm999 of company 0000 and sends this data via the InforBusinessContext message in the background to ION to retrieve the WorkflowID related Task data.
For the Sync BOD approval concept using the Activation Policy / Workflow combination, you need to generate a InforBusinessContext message that is able to retrieve the Workflow / Task data from ION. A test has been made for the 'LN_ItemMaster_Addition' Activation Policy / Workflow combination that is part of the LN-ION pre-defined Content Pack. Retrieving the related workflow/task data is working for the TaskViewer when selecting the Item in LN.
The Task viewer is using 3 Methods to find workflow ID's; For the found workflow IDs, Task Viewer shows the workflow information:Method 1: search for element "workflowID" inside the "entities" structure:Method 2: search for the elements "entityType": "InforWorkflow" and "id1": "12345", where id1 is expected to be the workflow ID.Method 3: search for bodReference and elements "documentID", "accountingEntity", "location" (note: if an element is missing, it is assumed empty string)
For more info you can refer KB3652433
Hi @Kiran Kolluri ,
Thanks for the pointer. But can you explain this to me in a less documented way and more simple way. As i have a custom table and session which by using Activation policy workflow is approved. Now how to set that in-context or if there is a simple way to setup workflow with GUID insted activation Policy and get workflow data into Task Viewer. It will be grate help if you can explain in detail.