Solved

Potential infinite recursion detected in cascading BPAs

  • 5 July 2023
  • 4 replies
  • 209 views

Userlevel 3
Badge +6

Hi All,

I am very new to IFS Workflow (BPA) things and trying to simple insertion in same page where I am getting data.

No error is getting from debug when yet to deploy it but getting an Ⓔ. Let me share screenshots below.

And the error I am getting when trigger firing for the process.

 

I am inserting more screenshots about the flow for information.

 

Can anyone tell me about the error and how I can resolve it?

 

Thanks in advance

 

icon

Best answer by Lahirumala de Mel 6 July 2023, 05:09

View original

4 replies

Userlevel 3
Badge +7

any chance of inserting a record causes the same workflow to trigger again?

Userlevel 3
Badge +6

Hi @Lahirumala de Mel 

Yes that is the thing what is happening now.

I tried it from other table as well, but problem is the key value doesn’t match.

Let me try to convert it as the passing parameter.

 

Thanks 

Userlevel 3
Badge +6

Can you tell me why this is happening.
And how can I easily put a date value for the insertion?

 

Userlevel 3
Badge +6

Ahh, I got the solutions.
After getting the date (timestamp) values to insert in projections it has to be converted. So there needs to be a javascript converter to do it.

var startDate= execution.getVariable('AllocationStart');
startDate= startDate.replaceAll('T', '-').replaceAll(':', '.');
execution.setVariable('RegDate', startDate);

var endDate= execution.getVariable('AllocationEnd');
endDate = endDate.replaceAll('T', '-').replaceAll(':', '.');
execution.setVariable('EndDate', endDate);

 

Thanks for cooperation

Reply