Is it possible to create a workflow that only requires approval for new certificate requests?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to create a workflow that only requires approval for new certificate requests?

L3 Networker

I will preface this that we can't separate the policy to have new requests in only one policy folder and then move them with placement rules later. As we are automating more, we would like to reduce as many blocks to the process as possible. Renewals don't need approval since they are typically not changing, but I would like to create a workflow that can be applied at the root Policy level that allows me to exempt renewals from requiring approval. I have not been able to find a way to do this with the on-prem version. Current version is 25.3.0

1 accepted solution

Accepted Solutions

L2 Linker

Hello @Daryl Horton​ , thanks for the question.

 

You may be able to craft something using an Adaptable Workflow. Please see our official documentation for reference: (https://docs.venafi.com/Docs/current/TopNav/Content/Workflow/c-workflow-adaptable-workfow-overview.php).

 

For example, you could trigger the workflow at "stage 0" and check if the certificate object in question has a "Last Renewed On" attribute, which would only exist on a certificate which was previously renewed (If the attribute exists, auto-approve the renewal). New certificate objects would not have this attribute, and thus you can assume it is brand-new and requires approval.

Field_Content_versions_oct20__068Vy00001N0EoYIAV.png 

Here is a macro that pulls that attribute from the certificate object which can be used in the adaptable workflow script:

$Policy[$selfdn$,"Last Renewed On"]$

I hope this is helpful. Take care.

View solution in original post

1 REPLY 1

L2 Linker

Hello @Daryl Horton​ , thanks for the question.

 

You may be able to craft something using an Adaptable Workflow. Please see our official documentation for reference: (https://docs.venafi.com/Docs/current/TopNav/Content/Workflow/c-workflow-adaptable-workfow-overview.php).

 

For example, you could trigger the workflow at "stage 0" and check if the certificate object in question has a "Last Renewed On" attribute, which would only exist on a certificate which was previously renewed (If the attribute exists, auto-approve the renewal). New certificate objects would not have this attribute, and thus you can assume it is brand-new and requires approval.

Field_Content_versions_oct20__068Vy00001N0EoYIAV.png 

Here is a macro that pulls that attribute from the certificate object which can be used in the adaptable workflow script:

$Policy[$selfdn$,"Last Renewed On"]$

I hope this is helpful. Take care.

  • 1 accepted solution
  • 38 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!