Hi there,
I'm working on a feature that needs to show within a Smartform, will save a record in SQL, which then the Workflow will pickup later to use.
The issue is that once both Smartform and Workflow are deployed, the Smartform will start behaving like the new version immediately after deployment but there will be some instances where the WF process would still be the pre-deployment version. This is an issue.
The way I would like to tackle this is to have some form of feature switch on loading of the Smartform to either show the feature or not. The best way to do this is to compare the workflow version it is opening with a configuration so "if workflow version is THIS or higher, show it", but I can't find workflow version in the Open Worklist Item.
Is there an easy way to get the version at runtime (even server side so as not to show any SMO call to the client)?