cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yoshihirok
Level 10

Action "Compose" - How can I use workflow definition language in action ?

I want to use Workflow definition language in Action "Compose",

to use output from the action at multiple below actions/conditions

 

My scenario:

1. Trigger something.

2. Action "Compose" create "Current hour" by @{int(formatDateTime(addhours(utcnow(),9),'%H'))}

3. Actions/Conditions use "Current hour" that output from Step 2.

 

Can I use workflow definition language in Action "Compose" ?

or How can I do ?

 

Regards,

Yoshihiro Kawabata

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Action "Compose" - How can I use workflow definition language in action ?

Hi Yoshihiro,

 

I have seen an article about Workflow Definition Language, hope this article can be a reference for you, the article link is:
https://docs.microsoft.com/en-us/rest/api/logic/definition-languagehttps://docs.microsoft.com/en-us/...

 

Workflow definition language can be used in “Compose” action, please add a double quotation mark on the function to see if it works.

Best regards,
Mabel Mao

 

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

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Action "Compose" - How can I use workflow definition language in action ?

Hi Yoshihiro,

 

I have seen an article about Workflow Definition Language, hope this article can be a reference for you, the article link is:
https://docs.microsoft.com/en-us/rest/api/logic/definition-languagehttps://docs.microsoft.com/en-us/...

 

Workflow definition language can be used in “Compose” action, please add a double quotation mark on the function to see if it works.

Best regards,
Mabel Mao

 

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

View solution in original post

Highlighted
yoshihirok
Level 10

Re: Action "Compose" - How can I use workflow definition language in action ?

Hi @v-yamao-msft

 

Yes, I have see the article, and I am tring it.

 

So, I will try Action "Compose" with double-quote.

 

Regards,

Yoshihiro Kawabata

yoshihirok
Level 10

Re: Action "Compose" - How can I use workflow definition language in action ?

Thank you, @v-yamao-msft, I can use Action 'Compose' with Workflow Definition Language.

 

Current Hour in Japan:

Action: 'Compose'

Name: 'Current Hour'

Input: "@int(formatDateTime(addhours(utcnow(),9),'%H'))"

 

and Reuse the output.

 

Hour after 1 hour.

Action:  'Compose'

Name: 'Next Hour'

Input: @add(outputs('Current Hour'), 1)

 

Regards,

Yoshihiro Kawabata

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (6,092)