cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Memorable Member
Memorable Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

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

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (4,427)