Jump to content

Is it possible to assign a sub-status based on the outcome of an assessment


Recommended Posts

Posted

Hi

We're trying to introduce some new security measures and would like to trigger a security assessment which then automatically assigns a sub-status to a request based on the response to the assessment. In the workflow, I can create a decision following the assessment node, but I'm now unsure what the custom expression needs to be to get the details of the assessment.

Does anyone have any ideas or is this something they've used before??

Thanks

Ria

Posted

Hi @Ria it sounds like you need to have a custom expression which will evaluate the Impact attribute following the impact assessment. 

The impact assessment questions will drive an outcome to the impact field, and then you can branch (set sub-status based on this).

After your suspend wait for assessment, you will need a Request > Get Request Information > Request Details (so that you are evaluating the current Impact value), then have a decision node, and from the decision node have one or multiple Request > Update Request >  Status (where you can set the sub status you want)

image.png

In the custom expression linking to this node, you would have something like:

image.png

I get this by clicking on the variable picker (icon), and choosing the Flowcode option > and the name of the node where you used the Request > Get Request Information > Request Details node, from here you can scroll down to find the Impact field to evaluate against. 

image.png

 

Hope that helps

 

Posted

@Ria another option for you if you wanted to branch based on specific answers to your security questions, rather than the outcome Impact level they create, is to not use impact assessments, but instead create a human task, with custom questions in the human task.  You can then follow the human task with a decision node and build custom expressions based on the answers to any or multiple of the questions asked in the human task.

image.png

example Flow below, where the custom expression builder can evaluate the answers to the above security questions in the human task

image.png

More info on the wiki about using capture task fields and then branching on their outcomes:

https://wiki.hornbill.com/index.php/Capture_Task_Fields

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...