Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How do you make a custom workflow for release management that uses a BOOL for accessing transitions
Lukas_Lund
Member Posts: 17 PRO
Hello,
(Long time listener first time caller)
I am trying to set up a custom workflow for release management. I am trying to make it so that a property is asked when submitting for release if this is "For quote only"
I have the property generate but I don't want the option for someone to accidentally fully release it.
So looking to incorporate some logic into the workflow like:
If prop is false
then allow transition (for full release)
If prop is true
then allow transition (for quote only)
Thus only allowing end user to see 1 of 2 approve buttons when reviewing
Tagged:
0
Answers
I would suggest using two separate workflows for that - one for "full release" and one for "quote only" - each of which has only one thing the reviewer can do to approve.
Then in your enterprise release settings, you can check "enable multiple active workflows" and select both.
This way, when the submitter creates the release, they will first get a dialog where they can pick which workflow they want to use - no workflow-level property needed.