WELCOME TO THE COMMUNITY
find what you are looking for or ask a new question
Home > Forum > Latest posts

latest posts

MVP

Hi Paweł,

when a workflow instance uses follows a path all tasks will always be completed.
If the path is set to "wait for completion" the workflow instance will not be using the path. It will only be saved.

Therefore I see only two option.
1) If you only need to update fields, you could use the update related workflow instance action. It's basically a "save" action with which you can update the fields of any workflow instance.
https://docs.webcon.com/docs/2024R1/Studio/Action/Workflow/UpdateParentWorkflow/
2) Use the "Mark task as cancelled" option and use a business which would recreate the cancelled tasks.

Best regards,
Daniel

In reply to: Jack

Hi,
I think (like Daniel), that it would be easier to do it with a SQL condition in the first query.
You can add the condition

AND EXISTS (
SELECT 1 FROM CacheOrganizationStructure
WHERE COS_AD_givenname like '%%' AND COS_AD_sn like '%%'
)

I had few days ago similar problem to check if user is Active or not in AD ..
in my case I have item list with "people"
I do first check to see if they can do or not do something [you don't need this condition]
then 2 check is user active by SQL >> 1 or 0 result
1 is "active"
0 is "not active"
so here you can put sub flow or what ever on yes or no path condition or use case select [2023 /2024 webcon] (i'm on 2022 ... so I need yes/no ... )

I have problem ... [2022.1.4.404]
maybe not problem but looks like is missing one option as Parameters in creating task ..
or I don't know how to in proper way configure path ...

Now we have 3 parameters:
1. Wait for the completion of required tasks,
2. Mark tasks as completed,
3. Mark tasks as canceled.

but what if I have flow where element have assigned 4 people in parent flow A,B,C,D.
A is finished
B is waiting
C is finishing
D is waiting

now I do move parent flow by tech/system path to update some field/fields [whatever]
and I would like to:
keep
A is finished
B is waiting
C is finishing
D is waiting

only option I see is:
Cancel [3] so .. A and C need to finish again
Completed [2] B and D will finish ... and I assign again tasks so ... finally A and C will need to finish again
Wait [1] it will go nowhere ... because it will wait for B and D ...

[4] so .. how to pass by path but keep A and C as finished and B and D as Waiting ? and for example add (assign) E as Waiting ...

I don't see other option than "update parent flow" with out "moving by sql" ... but if moving then go by path .. then ..

MVP
In reply to: Maksymilian Stachowiak

That's an issue we've faced on our environments in one application, I'll try to replicate it though and will update with results :)

I'm back with results, and it seems my memory tricked me, or something changed, thanks for catching it Daniel :)
I'm sure that we had divergent environments, and we had to manually update columns in reports, but it might have been a different reason.
In attachments you can find screenshots, of the process.

In the end, environments won't be divergent, but due to changing the columns data that have been stored in 'Job Title' on test under WFD_AttText3, will stay in that column after update, and on forms will be visible under 'E-mail' column, as it's now using WFD_AttText3.