Error from getformbyflow Workflow api method for roles other than "Any Role"
Closed this issue · 1 comments
ja8669181 commented
I am trying to use the Business flow section. I used the RoleBased example with callback Api sample at https://codesandbox.io/s/workflowservercallbackapi-57zb8. The steps are as below
- Created 4 dummy forms Default, User, Manager, and Accountant
- Created a business flow named Rolebased
- Run the getformbyflow api method
And it shows an error rule with User is not implemented("One or more errors occurred. (Rule with name User is not implemented). InnerException: Rule with name User is not implemented"). My workflow is at state Draft. My doubt is why is it looking for rule named User. Shouldn't it use checkrole rule against the actor "User" to identify the find the form. - Now if I change the Role in business flow to "Any Roles" it works
Also if I am wrong please help me in creating the User rule
optimajet commented
Fixed in WFS 2.6 https://workflowengine.io/downloads/server/