on ‎2020 Oct 13 3:08 PM
Hello Experts,
In Cloud Foundry using business application studio I am creating a Custom UI5 application to trigger the workflow. I am referring the following blogs-
https://blogs.sap.com/2020/08/27/starting-workflow-from-custom-fiori-application-in-cloud-foundry/
https://blogs.sap.com/2020/08/31/enhancing-custom-application-as-workflow-task-ui-in-cloud-foundry/
I have created 2 applications -
App1) Workflow
App2) Custom UI5 app using which I am able to successfully trigger the workflow from UI5 app and I can see that item in My Inbox as well. PFB-

However, once the item is selected in My Inbox it is throwing the following error:
PFB code from my custom UI5 application:
1) xs-security.json
2) xs-app.json

3) mta.yaml
4) Service Instances in Cloud Foundry
I am not sure why My Inbox is unable to load the component of the custom ui5 application, which as a standalone app is working fine.
The url which My Inbox is trying-https://xxxxxxxtrial.cockpit.workflowmanagement.cfapps.eu10.hana.ondemand.com/nsPOCCreateInvoice/Component-preload.js
Standalone app url-
https://xxxxxxxtrial-dev-myapp-cap-createinvoice-approuter.cfapps.eu10.hana.ondemand.com/nsPOCCreate...
Can you please help.
Thanks & Regards,
Shubham
Request clarification before answering.
Hello shubham_27d94,
this xs-app.json are from approuter or from that html5 module.
I can see, that you are probably using standard portal site from workflow management and therefore you are effectively bypassing your app router.
If that xs-app.json is defined on approuter level, then you are bypassing it also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vbalko_effiis,
As you have correctly mentioned I am using standard portal to access My Inbox.
https://xxxxxxxtrial.cockpit.workflowmanagement.cfapps.eu10.hana.ondemand.com/cp.portal/site#Shell-h...
The shared xs-app.json is from HTML5Module.
Please find below the xs-app.json from AppRouter -

Do I need to change something in xs-app.json of AppRouter ?
Thanks & Regards,
Shubham
Hmmm,
this is strange - if that xs-app.json are on html5 app level, then it should work - I guess.
I use in my solution portal site (SaaS portal service), so I dont have first hand experience with that wf management portal.
Maybe archana.shukla or somebody else from WF management team can help.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.