Skip to main content

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

 

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


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 


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

 


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