Parameter | Value |
---|---|
Name | WM_CF_SPACE_PROVIDER |
Type | HTTP |
Description | Live Package Import destination |
URL | https://deploy-service.cfapps.cn40.platform.sapcloud.cn/api/v1/spaces/<spaceid>; |
Proxy Type | Internet |
Authentication | Basic Authentication |
User | Your BTP user who has Space Developer role |
Password | Related BTP user's password |
Navigate to your Space view, copy your space id from the browser URL like: https://cockpit.cn40.platform.sapcloud.cn/cockpit/#/globalaccount/xx-yy/subaccount/xxx-yyy/org/xxxx-...
Copy the space id "AAAA-BBBB-CCC-DDD-EEEE" from the upper URL.
Combine the required URL manually like https://deploy-service.cfapps.cn40.platform.sapcloud.cn/api/v1/spaces/AAAA-BBBB-CCC-DDD-EEEE
Save the changes.
Parameter | Value |
---|---|
Name | WM_BUSINESSRULES |
Type | HTTP |
Description | Business Rules destination |
URL | https://bpmruleruntime.rule.cn40.apps.platform.sapcloud.cn/rules-service |
Proxy Type | Internet |
Authentication | OAuth2ClientCredentials |
Client ID | Copy the value from the clientid field of service key |
Client Secret | Copy the value from the clientsecret field of service key |
Token Service URL | Copy the value from the url field of service key and add /oauth/token to the URL. The URL format is as shown: https://<subaccount>.authentication.cn40.platform.sapcloud.cn/oauth/token |
Save the changes.
Notes:
If this E2E process executing fail on the CFO approval step and read error like "TypeError: Cannot read property "push" from undefined in <eval> at line number 32", you can duplicate the destination and name in BUSINESS_RULES. After that, Re-activate the Decision, and then execute the process again.
Navigate to Subaccount view / Instances and Subscriptions page, click icon "Go to Application" of WorkflowmanagementSaaS
When Workflow Management SaaS home page opened, click tile Process Flexibility Cockpit to open the cockpit. Click button Discover Packages to open Process Hub page.
Search out the Sample Capital Expenditure Approval Process
Select the tile Sample Capital Expenditure Approval Process to open it. Click Import button to import the live package
The import process will take some minutes, resolve the issue first if met some error during the importing process.
After import successfully, the button Import will update to Configure. Click link My Live Processes to go back Process Flexibility Cockpit page. The imported process package displays.
We can add multiple process variants to mapping our business requirements. Open the tile Sample Capital Expenditure Approval Process.
Select Process Variants to access Process Variants main page.
Click New Process Variant button to access the Manage Process Variants design page. Type a new variant name High Value Investment, and then click Create button to create the new variant. Click variant High Value Investment to access the variant design view.
we need add more step to CFO approval. Drag item Approval to the next step of Local Manager Approval.
Create new Decision and setup the decision for CFO approval. Access Process Flexibility Cockpit -> My Live Processes, select Sample Expenditure Approval Process tile.
Click Decisions to access the Decisions overview page.
Click tile Determine All Approvers to access the design page.
We cannot edit the original Decision. You need select Copy To Draft to make some edit actions.
Select Auto Approval node, and then click button Edit, update the Total Cost >=5000.
Click node Determine Approvers, and then Edit the Decision table.
It aims to convenient for testing, we update the local manager and CFO as same email which setup to my mail address.
Save the changes, and then Release Version, Type new Description to the new revision. Click button Release complete Decision activation.
We can monitor the entire approval process status and critical log by Visibility Scenarios.
Navigate to Process Flexibility Cockpit. Click tile Sample Capital Expenditure Approval Process in my Live Processes. And then select item Visibility Scenarios to access the Visibility Scenarios page.
Click tile Sample Capital Expenditure Approval Dashboard to access edit page.
Switch to Performance Indicators tab, select Approved Capital Expenditure Requests from left pane. Navigate to Representation field. Select Bar Chart from drop-down list.
Save the changes, and then Activate the visibility scenario. click <
icon go back to Visibility Scenarios page, we will see the Dashboard displays in Active.
{
"RequestId": "IAP-2020-180",
"Title": "App Creation",
"Requester": {
"FirstName": "John",
"LastName": "Doe",
"Email": "John.Doe@example.com",
"UserId": "jdoe",
"Comments": "Please Approve"
},
"Investment": {
"TotalCost": 50000,
"Type": "Software",
"CAPEX": 10000,
"OPEX": 2000,
"ROI": 5,
"IRR": 5,
"Country": "Germany",
"BusinessUnit": "Purchasing",
"Description": "Provide a fresh experience for our customers by providing new apps for our services"
},
"Sustainability": {
"EnergyEfficiency": 10,
"CO2Efficiency": 20,
"EnergyCostSavings": 15,
"WaterSavings": 10
}
}
Navigate to Workflow Management SaaS home page, Open tile Monitor Workflows. A new workflow instance 'Sample Capital Expenditure Approval Process' is running.
Go back to home page, we can see 1 new message show up in My Inbox.
Access My Inbox, we can see the role "Local Manager" receives a new approval task. Approve the request.
Go back to Home page. Wait for several seconds, refresh the page. There is 1 new incoming message in the Inbox.
Navigate to Process Flexibility Cockpit. Click tile Sample Capital Expenditure Approval Process in my Live Processes. Check the Live Process Insights, the new process results displays. Access the Live Process Insights to view the dashboard for more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
24 | |
14 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 |