Workflow action button return No approval request exist
I've created an action button for a page. I've created an Event subscriber to subscribe to the action button. I've also enabled the workflow in the front end still while clicking on the action button, error is thrown No approval requests exist.
Does this work from C/SIDE?
Yes it works from C/SIDE
@Chris-Dsilva , WorkflowEventCodeunit , is your custom CU created in AL?if yes then can you please send me only that CU of AL ?Thanks in Advance .
In order to have a better understanding of the issue we would need some repro code.
@Chris-Dsilva, I'm a little low on resources this week, but will take a look next week and get back to you with my findings. I hope that is ok :-)
Yes fine.
@JesperSchulz, any progress on your findings?
Will look into it today! I'll get back to you EOD.
Sorry for the delay, but everything is extremely busy at the moment. Anyway, now I've taken a look...
I've tried to import your code sample, but I can't quite make it work, as the CF_FTLContracts record isn't a standard NAV object, just like page 50133 doesn't exist. In order to repro your issue, I would need a code sample and some repro steps, which illustrate the problem. It's extremely hard to identify the problem without it. Is there any chance you can provide that? Or maybe you could provide (a simplified) version of the dependent objects? Basically, I just need to be able to compile and run the code and be able to hit the same error you do...
Closing due to inactivity. Please log a new issue if you're still facing this problem