cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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

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

Regular Visitor

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

Kudo Commander
Kudo Commander

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (13,369)