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
Super User
Super User

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
Super User
Super User

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
Super User
Super User

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
Kudo Kingpin
Kudo Kingpin

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

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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

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 (2,016)