Skip to main content
Solved

Potential infinite recursion detected in cascading BPAs

  • July 5, 2023
  • 4 replies
  • 525 views

MizanulIslam
Sidekick (Partner)
Forum|alt.badge.img+7

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

 

Best answer by Lahirumala de Mel

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

4 replies

Lahirumala de Mel
Hero (Employee)
Forum|alt.badge.img+7

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


MizanulIslam
Sidekick (Partner)
Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • July 6, 2023

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 


MizanulIslam
Sidekick (Partner)
Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • July 6, 2023

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

 


MizanulIslam
Sidekick (Partner)
Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • July 6, 2023

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