DEV Community

Ewerton Jordão
Ewerton Jordão

Posted on • Originally published at Medium on

4 1

Azure Durable Functions | PowerShell 7 | Chaining Pattern

This article is part of #ServerlessSeptember. You'll find other helpful articles, detailed tutorials, and videos in this all-things-Serverless content collection. New articles from community members and cloud advocates are published every week from Monday to Thursday through September.

Find out more about how Microsoft Azure enables your Serverless functions at https://docs.microsoft.com/azure/azure-functions/.

Hi everyone, nice to see you here 😁. I’ll try to write in English again, for me, it’s so hard because in my country we talk in Portuguese, I’m from Brazil, and if my English is so poor please don’t go away from this content 😂.

Ok Here we go, I’m trying to explore Durable Functions with PowerShell 7, after I saw this post , yes now we can use PowerShell With Durable Functions in this post we focus in Chain Pattern, what is chaining pattern? Chaining Pattern in a simple way, are some steps to complete something, is possible to build a flow with functions, for example, you can trigger some function and result is an input for another function, this flow is drop-down. In this example, you can see this in action.

Let’s go?

Ok I tried to make some sketch of how this works.

In this picture we have a sample how chaining patter works, first we can call http request, listner httpstart call orchestrator and they had a workflow inside code, in this picture we had three activities to do.

Sample code here and other instructions:

EwertonJordao/AzDurableFunction_pwshchainningpatter

Ok, now I’ll implement my code on Azure, you can use your VSCode for do this or use CLI.

CLI option:

GUI option:

Result:

Finaly, in this sample I tried to show how you can use Chainig Patter for do Adm Tasks on Azure, see you in next opportunity. If you like this post please “clap” share with others and star my repository on github =D. Thank you.

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay