Skip to content

Commit

Permalink
included ananyas feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
phartenfeller committed Oct 30, 2023
1 parent 5dcf3f1 commit 72dee12
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
35 changes: 29 additions & 6 deletions content/blogposts/apex-23-2-workflows-first-look/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: >
Oracle APEX 23.2 Workflows: A First Look
date: 2023-10-18
lastUpdate: 2023-10-30
description: A preview version of Oracle APEX 23.2 just got released on apex.oracle.com. Let's take a look at the new workflow feature.
slug: apex-23-2-workflows-first-look
titleImage: ./apex-workflow-designer.png
Expand Down Expand Up @@ -194,12 +195,34 @@ On the page, we see a list of each instance and can click into it to see details
I only scratched the surface of what is possible with workflows. There are many more activities that we can use. For example, we can send emails, call REST services, have diversions, add waits and much more. I am looking forward to exploring more of it.

I currently have these questions that I can't answer yet?
_Update: [Ananya Chatterjee from the APEX team answered the questions in the comments](https://github.com/phartenfeller/hartenfeller.dev/issues/95#issuecomment-1769816103). I included the answers here._

- How do I visualize the current state of a workflow instance for the users? Flows has this and is extremely useful.
- Is this only scoped for developers, or meant to be something you can discuss with and show to non-technical people?
- How can we wait for user input? There are waiting activities, but I did not find a way to set variables for an existing workflow instance. There is an API for that, but it is only meant to be used by admins to resolve issues.
- How does the integration with "Approval Tasks" work? Can I set a variable in the workflow instance from there?
- In the "Participants" section, we can define roles, but only "Workflow Administrator" and "Workflow Owner" are available types. Can I fit roles like department X into this somehow?
- What are the plans to reduce the visual complexity of huge workflows? BPMN has swimlanes and call activities to group and hide details. Are there plans to add this?
**Q:** How do I visualize the current state of a workflow instance for the users? Flows has this and is extremely useful.

_A: This is on the Workflow Roadmap and we plan to prioritize it for our future release(s)._

**Q:** Is this only scoped for developers, or meant to be something you can discuss with and show to non-technical people?

_A: This is something you can discuss and show to non-technical people. The visualization makes it easier to demonstrate and communicate the business logic to non-technical people._

**Q:** How can we wait for user input? There are waiting activities, but I did not find a way to set variables for an existing workflow instance. There is an API for that, but it is only meant to be used by admins to resolve issues.

_A: The points at which users can interact with the Workflow are Human Task Activities. In 23.2 we have Action Tasks in addition to Approval Tasks. Action tasks are human tasks which do not have a defined Approve or Reject outcome. To learn more about them you could [check this blog](https://blogs.oracle.com/apex/post/using-action-tasks-with-oracle-apex-232)._

**Q:** How does the integration with "Approval Tasks" work? Can I set a variable in the workflow instance from there?

_A: The Task Outcome and Actual Owner values of the approval task can be returned to the workflow instance._

**Q:** In the "Participants" section, we can define roles, but only "Workflow Administrator" and "Workflow Owner" are available types. Can I fit roles like department X into this somehow?

_A: The participants can be initialized through select queries /expressions and can be a list of comma-separated users. You could define a Participant named Department X of type Workflow Owner and in the Source enter something like_
`select users from department where department ='X'`.

**Q:** What are the plans to reduce the visual complexity of huge workflows? BPMN has swimlanes and call activities to group and hide details. Are there plans to add this?

_A: Yes, we have call activities in the roadmap and they will be coming in the future releases of Workflow._

**Annotation from Ananya:**
_Please refer to my [blog on APEX Workflow](https://blogs.oracle.com/apex/post/simplify-medical-appointments-using-apex-workflow) which has detailed demonstration of how workflows interact with approval tasks and action tasks along with description and usage of the various workflow artifacts._

I guess this is the next step in a long-term feature set that will have a big impact on how we can build apps with APEX. So I think the workflow feature is not final as it is but will get many upgrades over time. Approval components definitely make more sense to me as they integrate with workflows. I am looking forward to seeing how it evolves.
8 changes: 3 additions & 5 deletions src/templates/blog-page-template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,15 @@ const BlogPageTemplate = ({ data }) => {
<h1 className="leading-12 brown-header-text pt-8 text-2xl font-extrabold md:text-3xl lg:text-4xl">
{title}
</h1>
<div className="mt-6 max-w-[90vw] text-sm font-medium leading-5 text-zinc-700">
<div className="mt-6 flex justify-between text-sm font-medium leading-5 text-zinc-700">
<TagsDisplay tags={tags} />
<time className="float-right" dateTime={date}>
{formattedDate}
</time>
<time dateTime={date}>{formattedDate}</time>
</div>
{lastUpdate ? (
<div className="mb-5">
<a
href={gitHubUrl}
className="float-right rounded text-sm font-medium leading-5 text-zinc-700 underline hover:text-zinc-400 focus:outline-none focus:ring focus:ring-red-300"
className="float-right rounded text-sm font-light leading-5 text-zinc-600 underline hover:text-zinc-400 focus:outline-none focus:ring focus:ring-red-300"
>
<span>Last updated: </span>
<time dateTime={lastUpdate}>{lastUpdateFormatted}</time>
Expand Down

0 comments on commit 72dee12

Please sign in to comment.