Skip to main content
July 15, 2025
Solved

Write Record Error

  • July 15, 2025
  • 15 replies
  • 0 views

.

Getting error while executing . Pls advice where i am making mistake configuring

Best answer by shubhama926776

Check your pv!record is not null before writeRecord

Add a condition to XOR gateway before your Write Records node with the condition not(isnull(pv!record)). If the process variable record is not null, the flow continues to Write Records. If the record is null or empty, the XOR gateway bypasses the Write Records node entirely, preventing the data type error from occurring.

15 replies

shubhama926776
July 15, 2025

Check your pv!record is not null before writeRecord

Add a condition to XOR gateway before your Write Records node with the condition not(isnull(pv!record)). If the process variable record is not null, the flow continues to Write Records. If the record is null or empty, the XOR gateway bypasses the Write Records node entirely, preventing the data type error from occurring.

July 15, 2025

Thanks for the suggestion.

stefanhelzle0001
July 15, 2025

Can you share the expression view of the field "Records Input"?

July 15, 2025

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/Screenshot-2025_2D00_07_2D00_15-at-3.16.44_2F20_PM.png

stefanhelzle0001
July 15, 2025

The curly brackets are not necessary, but this looks OK.

What data type is the pv!!record, and what is the value in this failing process instance.

harshas2775
July 15, 2025

 Can you manually map the ISM Supplier record in the node again and try. Also check the value in the pv in monitoring mode for data accuracy.

July 15, 2025

Yes I have tried to map it manually , It is giving the same error . there is no value showing in monitoring instance .

harshas2775
July 15, 2025

If its null your xor configuration should have catched it. can you share the xor expression?