cancel
Showing results for 
Search instead for 
Did you mean: 

My Inbox - showing more WFs than scenario specific ones

0 Kudos

Hi, I have installed and configured My Inbox application as indicated in the main documentation (help portal/Fiori Apps Library) and I have implemented all the notes as mentioned in central note "My Inbox - showing more WFs that scenario specific ones".

I have defined 2 tiles for the launchpad. In one of them I want to show scenario specific WFs and in the other one the whole Inbox.

I have configured the two tiles as indicated in the documentation for "Scenario specific" and "All Items" options:

  • URL - /sap/opu/odata/IWPGW/TASKPROCESSING;v=2;mo/TaskCollection/$count/?$filter=Status eq 'READY'  or Status eq 'RESERVED' or Status eq 'IN_PROGRESS' or Status eq 'EXECUTED'

          Semantic Object - WorkflowTask

          Action - displayInbox

          Parameters - allItems=true

  • /sap/opu/odata/IWPGW/TASKPROCESSING;v=2;mo/ScenarioCollection?$filter=key eq 'AFE_STATUS'

          Semantic Object - WorkflowTask

          Action - displayInbox

          Parameters - scenarioId=AFE_STATUS

Back-end configuration:

Gateway configuration:

I have activated the WF filter on both systems.

When I see the Launchpad, there are 2 tiles showing 5 WF for the "All Items" configuration 1 WF for the "AFE_STATUS" scenario specific, which seems ok. The problem is that when I select the AFE_STATUS tile, it shows all the 5 WF anyway.

Any ideas why the selection is not filtering the WF correclty?

Thanks,

Accepted Solutions (0)

Answers (3)

Answers (3)

S0023077514
Explorer
0 Kudos

Dear Jocelyn,

I have implemented the solution for task filters as well but still the scenario specific inbox shows me all workflows.

Please let me know if there is more steps to this solution.

Regards,

Nisha

0 Kudos

Just a clarification that task TS90000096 belongs to WF WS90000010.

I´m not an expert here, but cheking into the developors tools, I see an http call for the selection of the scenario and another call for the tasks, but can´t find how they are linked together so that only the tasks belonging to a specific scenario are obtained.

Here the filter only considers 4 status but it doen´t consider the task ID

Is there any configuration missing? How is the configuration on the Gateway system for the scenario/task supposed to filter the tasks? Is it handled inside the Gateway? Is there a way to debug this? or is this supposed to be passed a a filter or parameter that calls the oData service? (my understanding).

Shouldn´t the url consider the navigation of the entity type ConsumerScenarioCollection:

Please, any help will be much appreciated, I don´t know where else to look into.

Thanks,

MAW1
Explorer
0 Kudos

Hi,

I am facing exactly the same issue: The MyInbox is calling TaksCollection and the Navigation from ScenarioCollection to tasks would deliver correct data.

Did you find a solution?

Many thanks!

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

HI

By default all workflow items are shown using the default display. 

Scenario configuration overrides the default display for that task

If you want to limit the workitems to only those for which you have created Scenario configurations you need to also use the "Enable Task Filter" option in the IMG. 

You will find this option in the IMG near the Scenario Configuration optiom

Jocelyn

0 Kudos

Thanks Jocelyn, when I wrote "WF filter" I actually ment "Enable Task Filter". This has already been activated in both back-end and Gateway Systems