Create a checker and Approver Workflow

stuart_aspinall
stuart_aspinall Member Posts: 31 PRO

Hi

Does anyone have any articles or videos of how to easily create a custom workflow where a checker and approver can be added, and the workflow goes to the Checker first for approval or rejection, then it goes to the approver for approval or rejection. Also, when the Checker approves, then their name goes on the drawing, same with the Approver. Thanks

Stu

Comments

  • martin_kopplow
    martin_kopplow Member Posts: 1,646 PRO

    Wasn't that always a part of the release management? If I release a design, it generates an email sent to the approver, requesting her/him to do his duty, there can be more than one.

  • Caden_Armstrong
    Caden_Armstrong Member Posts: 472 PRO

    Have you read this help doc?
    https://cad.onshape.com/help/Content/Release/creating_a_customized_release_workflow.htm

    www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
    Experts in Onshape Automation - Custom Features and Integrated Applications
  • stuart_aspinall
    stuart_aspinall Member Posts: 31 PRO

    The default is just approvers, and I can set it so that All Approvers have to sign off before its approved…..but the drawing format has boxes for Drawn By, Checked By and Approved By, so I wanted to learn how to create a custom one, with Checker and Approver…..I can then adapt it and maybe have one for production parts, with the Revisions set to numerical….and a prototype release workflow, with the Revisions set to Alphabetical….thanks for the reply though….Stu

  • stuart_aspinall
    stuart_aspinall Member Posts: 31 PRO
    edited April 1

    Yeah, Ive read that…and have also been through a course from ptc, here…

    Administering Custom Release Management Workflows in Onshape Enterprise - Onshape Learning Center

    but was just wondering if anyone had come across anything easier to follow…..I'll try again with this course…..see if I can grasp it 2nd time…

    Thanks for the reply

    Stu

  • Kevin_Cowles
    Kevin_Cowles Member, Onshape Employees Posts: 90 image

    That course is definitely the best reference, but if it helps, here are some Workflow JSON's that you can work off of. Note that you'll need to update any Enterprise-specific references (featureStudioIds, and hex codes for Custom Properties) as covered in the Admin LC course. You can't copy the document, but you can copy and paste the code out of it (both the JSON and FeatureScript)

    https://bedfordstatics.onshape.com/documents/747baa2c27aa814034bec1dd/w/38197feba894dd9f4363aa88/e/b88ee6e0e4ea3ea2efc759e7

  • nick_papageorge_dayjob
    nick_papageorge_dayjob Member, csevp Posts: 1,284 PRO

    I’ve worked at several companies over the years. The approver never checks anything. They just hit accept.

    On my last company we even removed that field entirely and just had the initials of the person that did the actual rev change work.

    I know I’m not answering your question, just thought a good opportunity to write:)

  • stuart_aspinall
    stuart_aspinall Member Posts: 31 PRO

    Thanks Kevin, unfortunately couldnt see any coding, just blank tabs…..Stu

  • Kevin_Cowles
    Kevin_Cowles Member, Onshape Employees Posts: 90 image

    Shoot, my Enterprise is a weird one (because its an internal trial …) . Moved it to another account and made it public. Sorry bout that! https://cad.onshape.com/documents/4f0e8f4b7f512f4a85c2784a/w/a06b2f028c0f165386262dbf/e/73c37f6ac92bda790a070137

  • stuart_aspinall
    stuart_aspinall Member Posts: 31 PRO

    Thats brilliant, thanks a lot Kevin…..I will have a good look through those…..much appreciated….

    Stu