cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Allen_Gao
Microsoft
Microsoft

Use source control for the topics or workflows?

Hi This is Allen, have a question for topics.

Is there anyway to source control the topics? (like export them as json files and deployment them to somewhere)

 

Also for the bot's workflows,  currently they can be exported as json files. And these json files could only be used to imported? is it possible to CD(continuous deployment them)

 

Looking forward to your reply

Allen

1 ACCEPTED SOLUTION

Accepted Solutions
UdayAdhikari
Continued Contributor
Continued Contributor

HI @Allen_Gao - with the recent GA of Microsoft Power Platform Build Tools for Azure DevOps CI/CD of Power Virtual Agents (PVA) is now supported. Is it my understanding that as long as workflows/flows are created from within PVA or with PVA trigger action (not a stand alone flow), flows will be extracted and deployed as past of PVA.

 

As for topic by topic source control, as @renatoromao mentioned it's not supported today OOB but again everything is stored in CDS entities so there might be a way to get to individual topics which I have yet to explore.

 

Additional refence on build tools: Microsoft Power Platform Build Tools tasks

 

Thanks

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up

View solution in original post

4 REPLIES 4
renatoromao
Super User
Super User

Hi @Allen_Gao ,

 

Today you can export the chatbot and all topics inside the chatbot, you can use this documentation: https://docs.microsoft.com/en-us/power-virtual-agents/authoring-export-import-bots

But you cannot export only one or more than one topic without export the chatbot.

 

Regarding the workflow JSON file when you export, you can import in another environment and Office 365 user environment.

I already tried to export and modify the JSON (credentials, paths) and import again in some environments and work well but you need to have many attention to change everything.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português
UdayAdhikari
Continued Contributor
Continued Contributor

HI @Allen_Gao - with the recent GA of Microsoft Power Platform Build Tools for Azure DevOps CI/CD of Power Virtual Agents (PVA) is now supported. Is it my understanding that as long as workflows/flows are created from within PVA or with PVA trigger action (not a stand alone flow), flows will be extracted and deployed as past of PVA.

 

As for topic by topic source control, as @renatoromao mentioned it's not supported today OOB but again everything is stored in CDS entities so there might be a way to get to individual topics which I have yet to explore.

 

Additional refence on build tools: Microsoft Power Platform Build Tools tasks

 

Thanks

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up

EricRegnier
Super User
Super User

Hi @Allen_Gao,

To supplement on @renatoromao post. As he said, you can add the chatbot to a solution. You can then save the chatbot source (topics, entity, etc) to source control by using the CDS tooling specifically solution packager (or the unpack task from build tools). Solution Packager allows you to decompose the solution file and save the content (XML files) to your source control. You can also improve your ALM strategy by pack or preparing your Chatbot solution from source control and deploy to your target environments with the build tools.

Hope this helps!

 

Helpful resources

Announcements
Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

MS Build PVA Carousel 768x480.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development for Power Virtual Agents.

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.

Users online (3,380)