Hello,
i am new to SAP Cloud Platform Workflow and i have some issues with data Binding in my workflow. I want to create a simple Workflow of Purchase Order Approval and Rejection. It has 2 user tasks for which i build a Use Interface with the Workflow Task UI Template. (Right Click on the Workflow Project -> new -> workflow Task ui).
This gives me the nice opinion to deliver my context (the Purchase Order ID) via Workflow API to start a workflow instance from a definition. All the data from the context gets to the fields, lables and tables i want, but there is a problem i have with "normal" Odata Binding via the Entity Set Function (for example: List Item). I can create my datasource in the manifest.json and it seems to sync the metadata, but if i want to access the data in my Workflow Task UI folder "decideOrder" which is in the Workflow Projekt itself, it doesnt show the possibility to bind my entity Sets.
I really tried everything to solve this problem, but even if i copy the "local Service" metadata files to the Workflow UI component, it shows the entity sets, but in the application in my Inbox the fields are empty. The Odata Service itself is fine. I tried it with a normal UI5 Application to bind the items an it works. Seems to me, that the Workflow Task UI is not a possibility for binding my odata entities without using the json contextModel...or am i missing something?
Does the Workflow Task UI (it is even used in the Onboarding Sample in SAP Cloud Platform) maybe has some special folder architecture i am overseeing, so that the Application does not want to load the model?
Is the only way to solve this really is to write a sapui5 application for every User Task?
Maybe i am missing something, because the SAP Cloud Platform with especially the workflow Services is new to me...
Here is picture of my folder structure, the successful manifest.json. Metadata Sync.
The folder "decideOrder" is the UI for the User Task i am working on right now. It was automatically generated by the creation of the Workflow Task UI.
Thanks for your help!
Regards,
Stephan


