Flow designer flow is not triggering and it's not showing any error messages also

rajasekharteja
Tera Guru

Hello Everyone,


I got stuck where Approval's are not getting triggered for the job and I could see there is no execution entry created when we submit from Draft state to submit to 'Awaiting Approval'.

 

If we submit directly without using Draft option the flow is getting triggered and approvals are getting generated.

 

I have checked all the Business rules on that particular table and tried In activating the Business rule and tested but still unable to trigger the flow.

PFA flow.

 

I'm brainstorming on this , could anyone please help me with your inputs on this work. 

 

Thanks,

Raj

1 ACCEPTED SOLUTION

rajasekharteja
Tera Guru

Hello @K Akhila / @Michael Fry1 ,

Thanks for providing timely response.

As mentioned above in After update BR it's mentioned current.setWorkflow(false); so it's not triggering the flow now i'm triggering the flow using sn_fd.FlowAPI.startFlow and it's triggering the approval.

Thanks,

Raj

View solution in original post

11 REPLIES 11

I tried by removing setworkflow(false) in the BR now it triggered the approval and in the history table also old value of  job state is showing as draft and after submission it's updated to awaiting approval.  

But now the problem is we cannot remove setworkflow(false) line as it's required in the BR.

Is there any other way if we could trigger the approval or update the job state on submission from draft.

rajasekharteja
Tera Guru

Hello @K Akhila / @Michael Fry1 ,

Thanks for providing timely response.

As mentioned above in After update BR it's mentioned current.setWorkflow(false); so it's not triggering the flow now i'm triggering the flow using sn_fd.FlowAPI.startFlow and it's triggering the approval.

Thanks,

Raj