microsoft / powercat-business-approvals-kit

MIT License
34 stars 3 forks source link

[Business Approvals Kit - BUG] Approval instance gets not created #200

Closed marcelhuszar closed 7 months ago

marcelhuszar commented 7 months ago

Describe the issue

Hi together,

I have followed the training here: https://learn.microsoft.com/en-us/training/modules/approvals-kit-workshop/trigger-approval

Everything worked and workflow instances and node instances gets created but for somehow the approval instances in the BACore | Runtime - Start Node flow gets not created.

There is no entry in the corresponding table, so the workflow and node instances remain on status "Running". What is really strange is that I receive approvals on Teams which I can process. Does someone know what is happening here?

Expected Behavior

A record for "Business Approval Instance" should get created but somehow after creating a machine order request with the Contoso Coffee solution this doesn't work

What solution version are you using?

1.0.20240110.1

What app or flow are you having the issue with?

BACore | Runtime - Start Node

Steps To Reproduce

No response

Anything else?

No response

AB#2216

marcelhuszar commented 7 months ago

image

Here you can see that some expanded queries gets null value. I think I#ve located the issue. In the scope "Create Approval Instances" the node type gets correctly checked and then there is "Each approver" container which gets not executed because "cat_bizappr_runtimenodeapprover" is empty :/