Skip to Content

Most of the developers who want to use workflow in their cloud applications always have this larger question as: “how can I integrate my scenario specific user interface as task UI in workflow?

In this blog, I will show you how to make your custom HTML5 application integrated with User Task in workflow. For that, I am assuming that you already have an SAPUI5 application which is running standalone.

 

PART 1A

Part 1A is for the readers who do not have any HTML5 application to be used as user task in workflow. You can skip Part1A if you already have a custom application.

We start with creating an easy “hello world” SAPUI application first.

  1. Open SAP Cloud Platform cockpit and go to Services
  2. Search for SAP Web IDE Full-Stack service
  3. Click on the tile to navigate into the service
  4. If the service is not enabled, then click on Enabled button and wait for service to be enabled
  5. Click on the link Go to Service link to open the Web IDE in browserNote: Due to recent updates with the Wed IDE you need to open the URL with parameter “sap-ide-external=true”. If you do not do that then it assumes that you are Fiori developer and the application your building must go through regular release build process.For example:
    https://webidecp-mytrial.dispatcher.hanatrial.ondemand.com/?sap-ide-external=true 
  6. Right click on the File –> New –> Project from Template
  7. Select SAPUI5 Application template
  8. Click Next and all the required details as project name, namespace and view name
  9. Finally, click Finish to see the project created in the workspace.Note: Due to recent updates from Web IDE, you might see new build files created Gruntfile.js and package.json

  10. For ease of the explanation, I have built a simple application on “Hello World” which will show a user information like first name, last name and address. For that, I changed view.xml as shown
  11. Once you have finished building the view, right-click on the project and select option:
    Deploy –> Deploy to SAP Cloud Platform
  12. Now you can open the cockpit and find the application URL
  13. Click on the Application URL to open the application and you will the personal information of a user

You have now finished creating a simple application which we will integrate as Task UI inPart1B: Using your Custom HTML5 application as User Task in Workflow of the blog series

Previous Blogs
Understanding Custom UI Integration with SAP Cloud Platform Workflow
Part1A: Build your Custom HTML5 application in SAP WebIDE for Workflow

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Johannes Bacher

    Hi Archana,

    excellent – thank you for this blog ! I will now go on to part 1B and hope i get my first SCP workflow running! impossible without contributions like this !

    Johannes

    (1) 

Leave a Reply