toddhalfpenny / sfflowvisualiser-vscode

Salesforce Flow to PlantUML VS Code extension
ISC License
29 stars 5 forks source link

[FEATURE] Version No. #2

Open JodieM opened 10 months ago

JodieM commented 10 months ago

For when we try to do version comparisons it would be great to have the version number in the top of the Flow underneath the status of Active.

toddhalfpenny commented 9 months ago

Hmm.... looks like the version number is not stored in the XML. I will have to do some digging.

toddhalfpenny commented 9 months ago

I have posted over here - https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Qdb35SAB

razyogev commented 9 months ago

The Flow version is in the respective flowDefinitions XML file

<?xml version="1.0" encoding="UTF-8"?>
<FlowDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
    <activeVersionNumber>5</activeVersionNumber>
</FlowDefinition>
toddhalfpenny commented 9 months ago

I don't think I've seen those be pulled down to any projects I have running, @razyogev - did you pull these down specifically?

razyogev commented 9 months ago

I don't think I've seen those be pulled down to any projects I have running, @razyogev - did you pull these down specifically?

Not sure actually. I haven't created a new project in a while. But they are definitely available in my org browser https://developer.salesforce.com/docs/atlas.en-us.246.0.api_meta.meta/api_meta/meta_flowdefinition.htm

Also, your app is exactly what I was looking for. Awesome job which will definitely come in handy with documentation