Skip to content

Conversation

@mshanemc
Copy link
Contributor

What does this PR do?

org:open --source-file can open a flow in flow builder

What issues does this PR fix or reference?

forcedotcom/cli#2519
@W-14287109@

messages/open.md Outdated

# FlowIdNotFound

No ID not found for Flow %s .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: we should move the . to be at the end of the word, not .

});

it('should produce the URL for an existing flow', () => {
const result = execCmd<OrgOpenOutput>(`force:source:open --source-file ${flowPath} --url-only --json`, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to be using the deprecated command here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, just that the others were. A mix is probably best.

@WillieRuemmele
Copy link
Contributor

QA Notes


setup

create a flow, and pull it into the project

sf org open --source-file force-app/main/default/flows/my_flow-meta.xml =>
image

@WillieRuemmele WillieRuemmele merged commit d50c8fe into main Oct 13, 2023
@WillieRuemmele WillieRuemmele deleted the sm/open-a-flow branch October 13, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants