cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
_tmh
Regular Visitor

Errors with optional Inputs for manual trigger

Using manual trigger.

Asking user for start date (required) and end date (optional).

Based on input I will build the oData query string.

Need to test if the end date is Empty? Exists? IsNull?  Tried most of this but maybe I just don't have the right combination.

I'm not sure what to do with this.

 

If there is no entry and I try to use it, it errors saying:
Unable to process template language expressions in action 'Initialize_strEndDT' inputs at line '1' and column '14743': 'The template language expression 'triggerBody()['text_1']' cannot be evaluated because property 'text_1' doesn't exist, available properties are 'text'. Please see https://aka.ms/logicexpressions for usage details.'.

 

_tmh_0-1608077552641.png

 

_tmh_1-1608077590337.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
annajhaveri
Community Champion
Community Champion

Please check this blog https://www.bythedevs.com/post/how-to-pass-a-null-value-as-an-input-while-using-a-manual-trigger-in-...  it will help you, if you face any further issues let me know 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
annajhaveri
Community Champion
Community Champion

So are you facing error in check whether End Date is empty or not?

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Yes! Sorry if that was not clear.

-Todd

annajhaveri
Community Champion
Community Champion

Please check this blog https://www.bythedevs.com/post/how-to-pass-a-null-value-as-an-input-while-using-a-manual-trigger-in-...  it will help you, if you face any further issues let me know 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
_tmh
Regular Visitor

Thanks for your reply.  I have not had a chance to test.  Will update when I'm able.

max81
Impactful Individual
Impactful Individual

@annajhaveri : thanks. I had the same problem, and your hint solved it for me.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,516)