phartenfeller / hartenfeller.dev

My blog and portfolio.
https://hartenfeller.dev
MIT License
0 stars 0 forks source link

Comments: Oracle APEX 23.2 Workflows: A First Look #95

Open phartenfeller opened 11 months ago

phartenfeller commented 11 months ago

Blogpost: https://hartenfeller.dev/blog/apex-23-2-workflows-first-look

Comments on this issue are displayed on the blogpost.

annie79 commented 11 months ago

Hi Phillip, First of all, thank you for trying out the 23.2 APEX Workflow and sharing a great blog post on the topic! Regarding the questions you've raised in your blog post, I'll try to respond here.

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.

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

Please refer to my blog on 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.

Best Regards, Ananya

phartenfeller commented 10 months ago

Thank you @annie79 for the in-depth response. I included your answers in the post.

nithyaramu82 commented 8 months ago

Thank you for this post. It helped me to show my workflow. Is there a way to push or stop a workflow at a particular step in the middle of the workflow run? Also can we re-route the workflow step to a particular person in case the approver goes on vacation?

annie79 commented 8 months ago

Is there a way to push or stop a workflow at a particular step in the middle of the workflow run?

Hope this helps. Regards, Ananya

On Wed, Jan 17, 2024 at 10:03 AM nithyaramu82 @.***> wrote:

Thank you for this post. It helped me to show my workflow. Is there a way to push or stop a workflow at a particular step in the middle of the workflow run? Also can we re-route the workflow step to a particular person in case the approver goes on vacation?

— Reply to this email directly, view it on GitHub https://github.com/phartenfeller/hartenfeller.dev/issues/95#issuecomment-1894922663, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7K5KYT4G67JWKIWBGVVA3YO5ICLAVCNFSM6AAAAAA6FGA5ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHEZDENRWGM . You are receiving this because you were mentioned.Message ID: @.***>

nithyaramu82 commented 8 months ago

Thank you Ananya! I am able to view the tasks I initiated using the context "INITIATED_BY_ME", but what about the workflow that I need to approve, which context should I use? "MY_TASKS" or "ADMIN_TASKS" are giving errors, and "ADMIN_WORKFLOWS" or "MY_WORKFLOWS" returns none. Can you please help me with this one too?

annie79 commented 8 months ago

We can discuss this offline to understand your case better. Could you schedule a call and send me an invite for sometime today? Thanks, Ananya

On Wed, Jan 17, 2024 at 11:31 AM nithyaramu82 @.***> wrote:

Thank you Ananya! I am able to view the tasks I initiated using the context "INITIATED_BY_ME", but what about the workflow that I need to approve, which context should I use? "MY_TASKS" or "ADMIN_TASKS" are giving errors, and "ADMIN_WORKFLOWS" or "MY_WORKFLOWS" returns none. Can you please help me with this one too?

— Reply to this email directly, view it on GitHub https://github.com/phartenfeller/hartenfeller.dev/issues/95#issuecomment-1894991674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7K5K5PRKMDTMNUQLXQI3TYO5SJXAVCNFSM6AAAAAA6FGA5ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHE4TCNRXGQ . You are receiving this because you were mentioned.Message ID: @.***>