on ‎2020 Nov 04 10:00 AM
Hello,
I've just started learning SAP Cloud Workflow and I cannot load any UI5 app as User Task(it is empty as bellow). I am currently working in SAP Business Application Studio and all of the tutorials so far seem outdated. Did anyone had this issue before or has a good tutorial on it using Business App Studio?

Request clarification before answering.
There could be multiple reasons. Please follow the blogs and the standard documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the instructions. Unfortunately after multiple attempts and different blogs followed I still have the same issue.
The workflow seems not to find the UI5 app. Even with the code from your blog I get this same error:
Cannot create componentsap.demo.bpm.taskuifor smart template rendering. Showing standard task in the detail screen as a fallback: failed to load 'sap/demo/bpm/taskui/Component.js' from /sapdemobpmtaskui/Component.js: 404 - Not Found -
In this case I uploded the files to my trial workspace, I renamed the "default_workflow" to "workflow_mt" in the mta.yaml(I guess there is a difference in the default configurations since the blog was created and it was needed), built and deployed.
Do you know if there was something extra I should have done?
Many thanks for the support already!
I think this will be caused by the app router configuration in the mta, please check module ...-destination-content. The destination default set for instance.
Change parameters > content > instance to subaccount and i hope your problem is fixed. The sample code is added to the MTA using Yeoman gen "Routing Config".
If you already deployed the application to CF, first undeploy, build and deploy again. Note that the policy for existing destinations is set to ignore. When needed change to update.
- name: FrameworkActivities-destination-content
type: com.sap.application.content
requires:
- name: FrameworkActivities-destination-service
parameters:
content-target: true
- name: FrameworkActivities_html_repo_host
parameters:
service-key:
name: FrameworkActivities_html_repo_host-key
- name: FrameworkActivities-auth
parameters:
service-key:
name: FrameworkActivities-auth-key
parameters:
content:
instance: <<<< subaccount:
destinations:
- Name: nlsampleframework_FrameworkActivities_html_repo_host
ServiceInstanceName: FrameworkActivities-html5-app-host-service
ServiceKeyName: FrameworkActivities_html_repo_host-key
sap.cloud.service: nlsampleframework
- Authentication: OAuth2UserTokenExchange
Name: nlsampleframework_FrameworkActivities_auth
ServiceKeyName: FrameworkActivities-auth-key
sap.cloud.service: nlsampleframework
existing_destinations_policy: ignore
build-parameters:
no-source: true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello kajal0299 and cstrimbei,
There are no limitation in trial account. Hope you have used SAP Managed AppRouter while UI5 module, if you wish it to be used as Task UI in workflow. Steps are clearly mentioned in the blog and in standard documentation. Follow them carefully. I have also mentioned in my blog, why you 404 error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey cstrimbei
Could you resolve your issue. Actually I am facing the same problem. Would appreciate if you could help.
Thankyou.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 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.