Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Get started with human task orchestration" guide to include Play #4401

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

mesellings
Copy link
Contributor

Description

Update the https://docs.camunda.io/docs/next/guides/orchestrate-human-tasks/ topic to include Play, milestone creation, and review as steps before running it on the cluster.

Relates to issue #4183.

When should this change go live?

  • This is a bug fix, security concern, or something that needs urgent release support.
  • This is already available but undocumented and should be released within a week.
  • This on a specific schedule and the assignee will coordinate a release with the DevEx team. (apply hold label or convert to draft PR)
  • This is part of a scheduled alpha or minor. (apply alpha or minor label)
  • There is no urgency with this change and can be released at any time.

PR Checklist

  • My changes are for an already released minor and are in /versioned_docs directory.
  • My changes are for the next minor and are in /docs directory (aka /next/).

@mesellings mesellings added kind/feature Issues related with features to be documented component:docs Documentation improvements, including new or updated content component:web-modeler-SaaS Continuous delivery - Issues related with Web Modeler SaaS target:8.6 Issues included in the 8.6 release deploy Stand up a temporary docs site with this PR 8.6.0 October 2024 minor release labels Oct 4, 2024
@mesellings mesellings self-assigned this Oct 4, 2024
@mesellings mesellings changed the title Update get started with human task orchestration to include Play Update "Get started with human task orchestration" guide to include Play Oct 4, 2024
conceptualshark

This comment was marked as outdated.

@mesellings
Copy link
Contributor Author

@conceptualshark Don't worry, I'm going to rebase this and start again on Monday - I saw your changes, so I'll need to adapt the new stuff for this - don't spend any more time on it 😄

@mesellings mesellings removed kind/feature Issues related with features to be documented component:docs Documentation improvements, including new or updated content component:web-modeler-SaaS Continuous delivery - Issues related with Web Modeler SaaS target:8.6 Issues included in the 8.6 release deploy Stand up a temporary docs site with this PR 8.6.0 October 2024 minor release labels Oct 4, 2024
Copy link
Contributor

github-actions bot commented Oct 6, 2024

👋 🤖 🤔 Hello! Did you make your changes in all the right places?

These files were changed only in docs/. You might want to duplicate these changes in versioned_docs/version-8.6/.

  • docs/guides/getting-started-orchestrate-human-tasks.md
  • docs/guides/img/human-task-bpmn-diagram-gateway.png
  • docs/guides/img/human-task-bpmn-diagram-tasks.png
  • docs/guides/img/human-task-bpmn-diagram.png
  • docs/guides/img/operate-open-tasklist.png
  • docs/guides/img/play-chicken-complete.png
  • docs/guides/img/play-open-form.png
  • docs/guides/img/play-operate.png
  • docs/guides/img/play-play-button.png

You may have done this intentionally, but we wanted to point it out in case you didn't. You can read more about the versioning within our docs in our documentation guidelines.

@mesellings mesellings added kind/feature Issues related with features to be documented component:modeler Issues related with Modeler project component:docs Documentation improvements, including new or updated content component:console Issues related with Console project component:web-modeler-SaaS Continuous delivery - Issues related with Web Modeler SaaS deploy Stand up a temporary docs site with this PR 8.6.0 October 2024 minor release labels Oct 6, 2024
@mesellings mesellings dismissed conceptualshark’s stale review October 6, 2024 11:08

Content has changed considerably after a merge conflict, it didn't need a review at this point

@mesellings mesellings added deploy Stand up a temporary docs site with this PR and removed deploy Stand up a temporary docs site with this PR labels Oct 6, 2024
@akeller akeller removed the deploy Stand up a temporary docs site with this PR label Oct 7, 2024
@akeller
Copy link
Member

akeller commented Oct 7, 2024

Removing deploy since it's currently broken. 😢

@mesellings mesellings added the deploy Stand up a temporary docs site with this PR label Oct 7, 2024
@mesellings mesellings added the hold This issue is parked, do not merge. label Oct 7, 2024
@mesellings
Copy link
Contributor Author

This needs a review by Eric, so should not be merged - was waiting for the deploy workflow to be fixed - we can hopefully push this tomorrow

@github-actions github-actions bot temporarily deployed to camunda-docs October 7, 2024 16:31 Destroyed
@mesellings
Copy link
Contributor Author

@HanselIdes The preview environment is (finally) fixed and up for you to review:

Depending on when you are able to review, we can try to get this into the release tomorrow, or push it afterwards?

@github-actions github-actions bot temporarily deployed to camunda-docs October 7, 2024 18:31 Destroyed
Copy link
Contributor

@HanselIdes HanselIdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good progress, but fundamental updates to the user journey and differences between Desktop Modeler+C8 Run, Web Modeler SM, and Web Modeler SaaS make it difficult to follow the changes. It's probably best to group the tabs as
Desktop Modeler | Web Modeler
especially because we're uniting the UX between Web Modeler SaaS and SM

This complicates the flow and also the table of contents, where there are two step 4s
image


import clsx from "clsx";
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import SaasPrereqs from './react-components/saas-prerequisites.md'
import Install from './react-components/install-c8run.md'

Camunda 8 allows you to orchestrate processes with human tasks of any complexity. Utilizing user tasks, you can create and assign tasks to users. Then, users can perform their work and enter the necessary data to drive the business process.
You can use Camunda 8 to orchestrate processes with human tasks of any complexity. User tasks allow you to create and assign tasks to users, who can then perform their work and enter the required data to drive the business process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can use Camunda 8 to orchestrate processes with human tasks of any complexity. User tasks allow you to create and assign tasks to users, who can then perform their work and enter the required data to drive the business process.
You can use Camunda 8 to orchestrate processes with human tasks of any complexity. Use the user task BPMN element to create and assign tasks to users, who can then perform their work and enter the required data to drive the business process.

For the getting started with HTO guide, I'd also be interested in seeing @volodymyr-melnykc 's perspective as he's the HTO PM

@@ -100,13 +139,14 @@ To run this guide, make sure to be in **Implement** mode to specify the technica

1. A **start event** is automatically added to the canvas. Click it to display configuration and append options.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The start event should be automatically selected- you can check this behavior on SaaS

@@ -100,13 +139,14 @@ To run this guide, make sure to be in **Implement** mode to specify the technica

1. A **start event** is automatically added to the canvas. Click it to display configuration and append options.
2. Click the rectangular **Append Task** icon to append a task.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image These instructions should be updated to account for the new context pad. The user has to hover over the blue circle to the right, then click the rectangular append task icon. This applies for all instructions- they should be double-checked

2. Click the blue **link icon** in the lower right corner. A menu expands that allows you to create a new form.
<img src={ModelerFormMenuImg} style={{width: 400}} alt="Annotation to open the form menu" />
3. Click **Create new form**. A form will be created and opened in the form editor. The form is automatically named.
1. Click the blue **link icon** in the lower right corner. A menu expands that allows you to create a new form.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image I saw this instead of the empty state

@@ -174,7 +213,7 @@ If the properties panel for your form doesn't open automatically, navigate to **

## Step 3: Link the form to your process
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you create a form according to these instructions, then this step is automatically completed.

First, you must create the BPMN diagram file and project.

1. Open Web Modeler, and click **New project**. Every file in Web Modeler requires a project.
2. Select **Create new > BPMN diagram**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For automation, users should always use process applications. They have the most features, including a smoother Play deployment experience


### Deploy and test run
1. Click the **Play** tab to enter Play mode.
1. Once the Play environment is ready, click **Start a process instance** to start testing your process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With 8.6, the user will need a cluster rather than just waiting for the Play environment.
image
image
image
image

As well as using Play mode to quickly validate and run your process in development, you can also:

- Deploy the process to a [cluster](/components/concepts/clusters.md) in other environments such as testing, staging, and production. After you deploy your process, it can be run on the cluster.
- Run and complete the user task in [Tasklist](/components/tasklist/introduction-to-tasklist.md). Applications such as Tasklist can be used by humans to complete tasks. As well as using Play mode and Tasklist to run a process, you can call the process via the API or an inbound trigger. Read more about [run options](/components/modeler/web-modeler/run-or-publish-your-process.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can follow a link to Operate...
image
and then a link to Tasklist if you have an open user task...
image

Or you can open Tasklist and it should show the open task directly

@mesellings
Copy link
Contributor Author

This is good progress, but fundamental updates to the user journey and differences between Desktop Modeler+C8 Run, Web Modeler SM, and Web Modeler SaaS make it difficult to follow the changes. It's probably best to group the tabs as Desktop Modeler | Web Modeler especially because we're uniting the UX between Web Modeler SaaS and SM

This complicates the flow and also the table of contents, where there are two step 4s image

Thanks @HanselIdes I'll take another look at this - I really appreciate the comprehensive feedback 👍

@github-actions github-actions bot temporarily deployed to camunda-docs October 11, 2024 15:22 Destroyed
Copy link
Contributor

The preview environment relating to the commit 49d0bd3 has successfully been deployed. You can access it at https://preview.docs.camunda.cloud/pr-4401/index.html

@mesellings
Copy link
Contributor Author

@HanselIdes I've gone through the SaaS section and incorporated all your feedback - please check you are happy with the new structure, and I will move onto the SM section.

https://preview.docs.camunda.cloud/pr-4401/docs/next/guides/orchestrate-human-tasks/

  • I've condensed it into 3 stages: Step 1: Create and design a process, Step 2: Design and link a form, and Step 3: Run and validate your process.
  • I think it might be good to keep the SaaS & Web Modeler / SM Camunda 8 Run & Desktop Modeler split as it covers multiple bases for users - what do you think?

p.s. Ignore the right-hand menu for now, as it is still affected by the unchanged SM content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.6.0 October 2024 minor release component:console Issues related with Console project component:docs Documentation improvements, including new or updated content component:modeler Issues related with Modeler project component:web-modeler-SaaS Continuous delivery - Issues related with Web Modeler SaaS deploy Stand up a temporary docs site with this PR hold This issue is parked, do not merge. kind/feature Issues related with features to be documented
Projects
Status: 👀 In Review
Development

Successfully merging this pull request may close these issues.

4 participants