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 15 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
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.

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.

The one thing that must be addressed is the inaccuracy between SaaS and SM. In this guide as it's written, SM represents local development (Desktop Modeler + C8 Run), not self-managed.

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.
1. A **start event** is automatically added to the canvas and selected.
2. Append a task. For example, hover over the blue plus icon and select the **Append Task** icon from the [context pad](/components/modeler/web-modeler/context-pad.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

Arguably, the append element option offers better discovery for automation options and fewer steps, combining step 2 and 4. @lmbateman / @nikku, do you think we should drive new users to use the append anything option?
image

@mesellings
Copy link
Contributor Author

@HanselIdes I've made those changes now, and other than the Append element comments, this is probably good to go for a final review?

In summary, I changed language to Desktop/Web as suggested, added a context pad link, and removed some heading elements from the Desktop validate section to avoid them appearing in the right-hand TOC (until we can fix this so it takes tabbed content into context).

@github-actions github-actions bot temporarily deployed to camunda-docs October 16, 2024 10:11 Destroyed
HanselIdes
HanselIdes previously approved these changes Oct 17, 2024
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.

LGTM!

- Select **Self-Managed** to see an example using Camunda 8 Run and Desktop Modeler.
- Select **SaaS** to see an example using Camunda 8 SaaS and Web Modeler.
- Select **Desktop** to see an example using Camunda 8 Run and Desktop Modeler in a local development environment.
- Select **Web** to see an example using Camunda 8 SaaS and Web Modeler.
Copy link
Contributor

Choose a reason for hiding this comment

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

Web Modeler Self-Managed is excluded, but that's appropriate for this stage of the journey

Copy link
Contributor

@conceptualshark conceptualshark left a comment

Choose a reason for hiding this comment

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

My lingering question here is why the addition of Play changes the Web Modeler section of this guide into "validate with Play" as the end result, and not completing and checking on the task in Tasklist and Operate.

I don't think this guide should solely walk a user through building a model and using Play for initial validation. Presenting options for understanding how that process moves through/works with Operate and Tasklist is an equally important end result.

<Tabs groupId="install" defaultValue="saas" queryString values={
[
{label: 'Self-Managed', value: 'sm' },
{label: 'SaaS', value: 'saas' },
{label: 'Desktop', value: 'sm' },
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be beneficial for these to read more descriptively/match the description above? "SaaS and Web Modeler" | "Self-Managed and Desktop Modeler". As labels, they're short enough to scroll by right now, and if SaaS vs SM didn't entirely capture the paths here, I don't think Desktop vs Web does either.

Per Eric's point, I don't want the implication to be that these are exclusive methods for either version, but I do think we should align with the current Getting Started experience defining SaaS and SM as the modes of moving through the guides.


In this example, you will learn how to:

- Create and run your first process with a human in the loop.
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the later wording of "route (a) process flow based on a user decision." "A human in the loop" still feels ambiguous; not blocking, but I'm not sure if a more descriptive task here would be helpful, though we describe the action enough otherwise so it may just be me.


### Create a new file
Start by creating and designing a process to demonstrate how to route the process flow based on a user decision. In this example, you will create a process to decide what to eat for dinner.
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
Start by creating and designing a process to demonstrate how to route the process flow based on a user decision. In this example, you will create a process to decide what to eat for dinner.
To learn how to route a process flow based on a user decision, you will create and design a process to decide what to eat for dinner.

5. Select the user task and click on the diamond-shaped icon to append an exclusive gateway. The gateway allows to route the process flow differently, depending on conditions.
6. Select the gateway and append a task by clicking the task icon. Repeat it to create a second process flow. Name the tasks based on what the user decides to eat: in this case, we've named ours `Prepare chicken` and `Prepare salad`.
1. A **start event** is automatically added to the canvas and selected.
2. Append a task. For example, hover over the blue plus icon and select the **Append Task** icon from the [context pad](/components/modeler/web-modeler/context-pad.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

Context pad is more useful for the SaaS/web modeler side of things and not the same experience in desktop. If this section is swapped to Append element instead (and the context pad reference removed), it brings it back in line with the Desktop experience and would remove the need for another set of split/tabbed content.

@HanselIdes
Copy link
Contributor

My lingering question here is why the addition of Play changes the Web Modeler section of this guide into "validate with Play" as the end result, and not completing and checking on the task in Tasklist and Operate.

I don't think this guide should solely walk a user through building a model and using Play for initial validation. Presenting options for understanding how that process moves through/works with Operate and Tasklist is an equally important end result.

@conceptualshark The goal mentioned in the guide says:
"This guide introduces you to the basics of human task orchestration. You will create a simple process to decide on what to eat for dinner, and drive the process flow according to that decision."

The best way to "drive the process flow" is through Play. It requires no navigation, and the additional features that Tasklist has (assignee, priority, process visualization) are unnecessary and perhaps distracting. I think it makes sense to mention that you can also go through Operate and Tasklist, but it is not necessary to achieve the stated goal.

If you believe the "get started" guides should feature Operate and Tasklist, then we can talk about changing their goal. Within the PM team, the focus has been around getting to 'hello world'. When I learned Python scripting (which is my background- I'm not a pro dev here), "hello world" happens in the console within a second of writing or editing the code with as little context change as possible.

@github-actions github-actions bot temporarily deployed to camunda-docs October 21, 2024 13:36 Destroyed
@mesellings
Copy link
Contributor Author

@HanselIdes @conceptualshark Thanks for the discussion, I think we should see whether @volodymyr-melnykc has a preferred perspective on this as well for HTA.

@volodymyr-melnykc - if the main goal of the Getting started with HTA doc is to provide a quick introduction into integrating HTA into your processes, should the path for this (SaaS) be:

  • Use Play to show how you can add and simulate using user task forms, and simply refer to using Tasklist & Operate.
    OR
  • As per the Desktop Modeler & Camunda 8 Run path, show how to use Tasklist and Operate (and not Play).

From my perspective, this hinges around what type of guide this is meant to be - is it an exhaustive 'this is how to do it', or more of a worked example 'here is an overview of how you can do it' that aims to introduce the key concepts without making a new user open multiple applications to begin with (i.e. keeping it simple)? It sounds like the preferred path is to get to "Hello World" as quickly/easily as possible, in which case Play makes sense?

@conceptualshark
Copy link
Contributor

As per the Desktop Modeler & Camunda 8 Run path, show how to use Tasklist and Operate (and not Play).

I don't think it shouldn't include Play - I think that the guide can exist in the way it's been rewritten, but as a "Human task orchestration" guide, there is value in also explaining the way information moves between Operate and Tasklist, not only performing validation. There are no other getting started guides that explore these skills, and it matches the structure of the "Human Workflow" Academy guide.

@volodymyr-melnykc
Copy link
Contributor

volodymyr-melnykc commented Oct 25, 2024

@mesellings @conceptualshark @HanselIdes
I agree that it depends on the goal we want to achieve with this guide.

If the goal is to help users walkthrough and validate a designed process quickly, then showcasing it with Play would be the best.
If the goal is to educate users on building human-centric processes, then highlighting Tasklist and Operate is important. The user should know that Tasklist is the interface where the actual task review and completion happens, and Operate is the tool where the user can monitor the progress of the process.

In my opinion, this guide should be a foundation for educating users on building human-centric processes. This doesn't mean that it shouldn't mention Play, though a quick process walkthrough and validation is not a primary objective here.

@HanselIdes
Copy link
Contributor

Hi @melanie-butcher, I'm bringing you into this conversation as the head of the rapid adoption product stream. I believe you own the getting started guides.

We need a decision about whether the purpose of the HTO Getting Started guide. Is it to:

  • show the development process in Web Modeler + Play, and mention Tasklist and Operate
  • show the production environment in Web Modeler + Tasklist + Operate, and only mention Play
    This is an important branch point, and we don't have alignment.

@akeller
Copy link
Member

akeller commented Nov 18, 2024

What is the status of this PR?

@mesellings
Copy link
Contributor Author

@akeller Blocked currently as we await a decision on which way the HTO lead(s) want to go - Slack thread here: https://camunda.slack.com/archives/C0259E9ETNJ/p1730708865839529. I will give a nudge in the thread.

@christinaausley
Copy link
Contributor

@mesellings is this now slated for 8.7?

@mesellings mesellings added target:8.7 Issues included in the 8.7 release and removed 8.6.0 October 2024 minor release labels Dec 10, 2024
@mesellings
Copy link
Contributor Author

@mesellings is this now slated for 8.7?

Yes thanks @christinaausley , this was unblocked last week, so will bring it back into the pipeline for completion by/for 8.7

@github-actions github-actions bot temporarily deployed to camunda-docs December 10, 2024 10:22 Destroyed
Copy link
Contributor

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

@akeller
Copy link
Member

akeller commented Feb 10, 2025

I don't see much progress on this PR, so I'm assuming it's not going out with alpha4. If this is incorrect, please be prepared to adjust it for the upcoming working mode change.

@akeller
Copy link
Member

akeller commented Feb 11, 2025

I'm visiting all 8.7 tagged items to make you aware of the working mode change.

Version 8.7: will be sourced from the /versioned_docs/version-8.7 folder; URL paths will look like /docs/8.7/path/to/doc/.

Please ensure your changes are in the right directory with respect to the version you want to update. Changes currently in this PR would only happen in 8.8. You may want to backport to 8.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 target:8.7 Issues included in the 8.7 release
Projects
Status: 🏗 In Progress
Development

Successfully merging this pull request may close these issues.

6 participants