Approval state setting to "Not Yet Requested

Sana19
Mega Contributor

Approval record is getting created for the correct user but the approval state is getting stuck to "not yet requested".

It should be setting the state of the approval record to "Requested".

Due to this issue, workflow is stuck in the approval user activity.

Please suggest a solution.

1 ACCEPTED SOLUTION

Sana19
Mega Contributor

Hi Folks,

 

Thanks for sharing suggestions. However I found the root cause of the issue in my case.

There is a BR on approval table with a role condition.

As per this, user need to have approver_user role to be able to approve/reject requests.

 

View solution in original post

8 REPLIES 8

Anil Lande
Kilo Patron

Hi,

Please check the dictionary of the state field on approval record and default value should be requested, also check if there is any before BR restricting the value from being updated to requested.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Sana19
Mega Contributor

Hi Anil,

 

Thanks for responding. I could see the default value of stat is not requested.

But it has always been this way.

Also to mention that I am using similar approval activity in the same workflow and for those it works fine.

 

Hi,

can you please share more details?

On which table you have this workflow?

Who is the approver? Is it same who has created/opened by?

 

If it is on knowledge then there is property 'glide.knowman.ownership_group.allow_self_approval' if true, it Allow approval of self-authored article as ownership group member. 

 

Thanks,
Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Sana19
Mega Contributor

Hi Anil,

 

Its a very basic requirement. An RITM is created on submission of a catalog item. To this an approval record is created by using the approval user activity in workflow, based on conditions. its strange because approval for othr conditions are working fine. Only this particular one is creating an approval record with state "Not Yet Requested".