SAP-archive / cloud-workflow-codejam

Material for the CodeJam on SAP Cloud Platform Workflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important Notice

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

CodeJam - SAP Cloud Platform Workflow

REUSE status

Description

This repository contains the material for the CodeJam on SAP Cloud Platform Workflow. Prerequisites and recommendations for this CodeJam are documented in the prerequisites file.

CodeJam overview

This SAP Cloud Platform Workflow CodeJam brings together a number of SAP Cloud Platform topics, centred around the SAP Cloud Platform Workflow service, but also covers setting up the SAP Cloud Connector to establish connectivity to an on-prem environment, using the SAP Cloud Platform Portal service to create an SAP Fiori launchpad site, exploring the SAP API Business Hub and using the Workflow API directly. From the Workflow service perspective you'll create, deploy and extend a workflow definition, interact with tasks in the standard My Inbox app and monitor & inspect workflow instances, initiating them from the monitor itself and from a 3rd party application.

Material organization

The material consists of a series of exercises that are to be done in order (each one building on the previous one). Each exercise is contained in a directory, with a main 'readme' file containing the core exercise instructions, with optional supporting files, such as screenshots and sample files.

Following the exercises

During the CodeJam you will complete each exercise one at a time. At the end of each exercise there are questions; these are designed to help you think about the content just covered, and are to be discussed with the entire CodeJam class, led by the instructor, when everyone has finished that exercise.

If you finish an exercise early, please resist the temptation to continue with the next one. Instead, explore what you've just done and see if you can find out more about the subject that was covered. That way we all stay on track together and can benefit from some reflection via the questions (and answers).

👉 Where there's an action for you to perform, it will be prefixed with this pointing symbol, to help you focus on where you are in each exercise.

The exercises

Here's an overview of the exercises in this CodeJam.

Further experimentation

If you want to further your learning based on what you've built in these exercises, we suggest you extend the workflow definition you've created to add more features. For example, you could set up a Mail Task with appropriate configuration to send a message.

You could also look at branching in the flow, based on decisions, using the Exclusive or Parallel Gateways.

Events are also powerful features that you could investigate. For example, try controlling the flow of your workflow instances via remote API calls by making use of Intermediate Messages, that pause execution until an incoming message is received (via an API call).

For more in-depth coverage of some of the topics in this CodeJam, you may find the blog post series Discovering SCP Workflow worth a look.

Feedback

At the end of this CodeJam, we would be really grateful if you could spend a minute providing us with your thoughts in this feedback form. Thank you.

Requirements

The requirements to follow the exercises in this repository, including hardware and software, are detailed in the prerequisites file.

Download and installation

You do not need to download this repository nor install anything from it. You can just follow the exercises by visiting each of them as listed in the exercises section.

How to obtain support

Support for the content in this repository is available during CodeJam events, for which this content has been designed. Otherwise, this content is provided "as-is" with no other support.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request (PR). Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) on submitting their first PR to this project. This DCO acceptance can be done in the PR itself - look out for the CLA assistant that will guide you through the simple process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License version 2.0.

About

Material for the CodeJam on SAP Cloud Platform Workflow.


Languages

Language:Dockerfile 71.1%Language:Shell 28.9%