Ria Posted April 12, 2019 Posted April 12, 2019 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
Steven Boardman Posted April 12, 2019 Posted April 12, 2019 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) In the custom expression linking to this node, you would have something like: 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. Hope that helps
Steven Boardman Posted April 12, 2019 Posted April 12, 2019 @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. example Flow below, where the custom expression builder can evaluate the answers to the above security questions in the human task 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
Ria Posted April 12, 2019 Author Posted April 12, 2019 @Steven Boardman that's brill, thanks so much for getting back to me so quickly! I'll have a look now that I know what the options are :-)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now