feat: add cmdlets for cloud flow management and action manipulation#1340
feat: add cmdlets for cloud flow management and action manipulation#1340Copilot wants to merge 7 commits into
Conversation
Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
…lets Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
|
@copilot use the Dataverse connection details you now have to manually test and improve the cmdlets. When you're done, update the tests and e2e tests, docs and cmdlet docs. |
|
@copilot use the Dataverse connection details you now have to manually test and improve the cmdlets. When you're done, update the tests and e2e tests (may need recreating in xunit), docs and cmdlet docs. |
… locale - Created CloudFlowCmdletsTests with 9 E2E tests covering all 6 cmdlets - Fixed help file locale issue by copying en-GB help to en-US - All E2E tests passing: Get/Set/Remove-DataverseCloudFlow, Get/Set/Remove-DataverseCloudFlowAction - Manually tested cmdlets against live Dataverse environment - Verified 5 cloud flows found, 12 actions extracted from flow definition - Tested filtering by name, state, and action names - Tested WhatIf functionality Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
Completed manual testing and E2E test creation (commit d383148). Manual Testing Results:
E2E Tests: Issues Fixed:
All cmdlets validated against real Dataverse environment and ready for use. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
…loudFlowAction (#1457) * Initial plan * feat: add create support to Set-DataverseCloudFlow and Set-DataverseCloudFlowAction Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com> * fix: correct CloudFlow help example format, add en-US locale support, fix SolutionComponentTests parallel isolation Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rnwood <1327895+rnwood@users.noreply.github.com>
Description
Adds 6 cmdlets to manage cloud flows (stored as
workflowentities withcategory=5) and manipulate their actions stored inclientdataJSON. Includes comprehensive manual testing against live Dataverse environment and complete E2E test suite.Changes Made
Flow Management:
Get-DataverseCloudFlow- Query flows by name/ID/state with wildcard supportSet-DataverseCloudFlow- Update properties (name, description) and state (activate/deactivate)Remove-DataverseCloudFlow- Delete flows with confirmation promptsAction Management:
Get-DataverseCloudFlowAction- Extract actions from flow definition JSONSet-DataverseCloudFlowAction- Modify action inputs (hashtable/JSON) and metadataRemove-DataverseCloudFlowAction- Remove actions from flow definitionDocumentation:
E2E Tests:
Rnwood.Dataverse.Data.PowerShell.E2ETests/CloudFlow/CloudFlowCmdletsTests.csExample Usage:
Implementation Details:
Manual Testing Results:
Testing
Checklist
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.