cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ryan2k
Resolver I
Resolver I

Adddays not working as expected

Hello - I have this exact syntax working in another flow (though adjusted to the appropriate 'Apply to each' variable) but it's not working in a different Flow. The error says it's getting value NULL, but I don't see anything wrong with the expression. Can someone help me take a look?

 

Expression use:

expressionexpression

 

Expression usedExpression used

 

NOTE: The "Apply_to_each_27" is correct, it's from another value earlier in the flow.

 

Here's the error I receive:

 

Error receivedError received

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

Hi @ryan2k 

 

items('Apply_to_each_27')?[FirstDeliveryDatec'] - this is returning null

hence adddays will fail 

 

 

check value in 

 

items('Apply_to_each_27')?[FirstDeliveryDatec']

 

add a compose action before your vtam start2 action 

and for compose action set value as 

items('Apply_to_each_27')?[FirstDeliveryDatec']

 

you can see if it has data

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

v-alzhan-msft
Community Support
Community Support

Hi @ryan2k ,

 

I'm afraid that the expression"Apply_to_each_27" is wrong since it is under the Apply to each 28.

1.png 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Apply_to_each_28 is wrapped inside of Apply_to_each_27, so that shouldn't be the issue - it's pulling that value without a problem.

 

I'll try to test those compose actions to see the vaule of the adddays syntax as suggested.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,226)