Error when excute workflow

No description
28 Replies
Dong Chau
Dong ChauOP2w ago
@prastoin
Prastoin
Prastoin2w ago
Please provide more context Self host cloud ? Etc etc and how to reproduce
Dong Chau
Dong ChauOP2w ago
I self host My workflow: record created => search record => create record (error as image) I just upgrade from 1.10 to 1.11 then throw this error
Dong Chau
Dong ChauOP2w ago
?? how to fix ?
No description
No description
Dong Chau
Dong ChauOP2w ago
@prastoin
martmull
martmull2w ago
Hey @Dong Chau we take a look at this. @Félix @Etienne what do you think?
Prastoin
Prastoin2w ago
Hey @martmull were you able to reproduce ?
martmull
martmull2w ago
I think this might be due to workflow using common api in 1.11
Prastoin
Prastoin2w ago
Hasn't it been reverted ?
martmull
martmull2w ago
no
Prastoin
Prastoin2w ago
Ah ok ! @Dong Chau nothing to be done on your side We will let you know once a patch is available for this issue 👍
Dong Chau
Dong ChauOP2w ago
yes, I just upgrade to 1.11 @@ okie, thank you so much
martmull
martmull2w ago
Yes, sorry for that, we are delivering a patch asap
Prastoin
Prastoin2w ago
Re-creating the workflow migth fix the issue 🤔
Dong Chau
Dong ChauOP2w ago
no I create new workflow wit same nodes
Prastoin
Prastoin2w ago
Ok, interesting
Dong Chau
Dong ChauOP2w ago
@@
martmull
martmull2w ago
Hey @Dong Chau Let's look together at how to fix this. Version 1.11 introduced new permission checks on workflowRuns to prevent permission escalation in workflows. Previously, a user without permission to create a company could still run a workflow that created one. Now, that is no longer allowed. I’d like to check with you what permissions you currently have: which role your user is assigned to and what permissions that role includes. You may need to increase your permission level so you can create an "account status" and a "user txn quota". On our side, we’re considering adding a workflow settings section that would let you opt into allowing permission escalation. But for now, the fix is to increase your permissions. if you prefer we can do that in MP or by visio
Dong Chau
Dong ChauOP2w ago
Okie thank you for your help @martmull .I call api created account from another service with the old api key in the version 1.10.*. In new version I still use this apikey for call rest API => This may result in errors as you said ? Oh I see what you mean, or does it mean the user creating the workflow must have curd rights for the workflow to run? @martmull It is not related to the api key issue?
martmull
martmull2w ago
On those captures it seems that the steps failing are "CREATE Record" steps. So I don't understand where you use the REST api. I think this is not related to api key issue indeed Can you send the user role you are assigned to so we can check you have the required permissions to run your workflow?
Dong Chau
Dong ChauOP2w ago
No description
No description
Dong Chau
Dong ChauOP2w ago
I just turn on "Edit Records on All Objects" and throw new error: "Unable to build createdBy metadata - no valid actor information found in auth context"
martmull
martmull2w ago
ok Now you face the other issue we have with CRUD workflow steps -> https://discord.com/channels/1130383047699738754/1439416192807731361 we are progressing
Dong Chau
Dong ChauOP2w ago
okie, thank you so much
martmull
martmull2w ago
I will ask for updates on this one
Dong Chau
Dong ChauOP2w ago
okie
martmull
martmull2w ago
Hey @Dong Chau patch 1.11.2 is deployed
Dong Chau
Dong ChauOP2w ago
okie, thank you so much @martmull

Did you find this page helpful?