I am really struggling with the CMDB Health Simulator Configure Remediation - Task 13. I do not understand how to create the workflow to be executed from an Orphan Task.

Bux
Tera Contributor

I am trying to complete the CMDB Fundamentals On Demand course.  The last task on the CMDB Simulator is to:

Create, configure, and publish a workflow using the following information:

*workflow name is "Remediate Orphan WF"

*workflow can be executed from an orphan task

*workflow, when executed, writes to the short description field of the orphan task the following: Workflow launched for task number [actual task number of orphan rule].

I have created a workflow and named it "Remediate Orphan WF".  I have 2 boxes on the canvas, Begin and End.  I do not understand which boxes I need to add to the canvas or how this workflow will even begin.  Do I need to create some kind of scripts?  The video lesson on the CMDB Fundamental On Demand was over my head.  It started off with the canvas already created and was for remediating Stale CIs.  I've tried reading the How to create Workflows and I keep going down rabbit holes.  It says drag the activity to the canvas.  I don't see any activity that will Execute from a task or write some task number into the Short Description field on the Orphan page.  I'm not a Dev/Ops guy, I'm a project manager who is taking this on demand class while I've been off work.  I would really like to finish this last task and be done with this.  

My email address is rbuxmann@cox.net.  I would really appreciate if someone can talk me through this please.

Regards.

Rob Buxmann

 

1 ACCEPTED SOLUTION

glenn_pinto
ServiceNow Employee
ServiceNow Employee

For the script you don't need to refer to orphan_ci_remediation as current translates to the current table from the record making the initial call to the wf. In the demo, we had to dot walk to the CI record's ip address from the incident table and thus we had a slightly different syntax. The following should suffice.

workflow.scratchpad.number = current.number; 

 

We provided AUS01-EXCH as a sample record that you can test with which should be there, but if you can't locate it, run the test from any other orphan task record and you should get the same result. 

View the demo video when it explains the set values activity on the proper syntax to write literal text plus the specific orphan number back to the orphan task record.

Hope this helps.

 

 

View solution in original post

119 REPLIES 119

Rich Driemeyer
Tera Contributor

I agree. There needs to be a video tutorial that explains how to build a workflow vs. just describing and existing one. I don't know how to create the workflow steps and don't know how to script. I hate to quite but probably going to bail on this Task. I've already spent way too much time on it and don't see being able to figure it out.

@Rich Driemeyer the tasks associated to the simulators are put together in a manner to test knowledge based on the content of the in person or onDemand CMDB Fundamentals training. This task has the following provided for additional info if needed.
"For additional assistance refer to this community article and/or the Now Learning course Maintain the Health of the CMDB in the Remediation Capabilities section."

The Remediation Capabilities lesson, as part of the onDemand, does have very detailed content and video demonstrations of how to work through scenarios such as this. However trying to accomplish this task with no prior knowledge is very challenging so it is highly encourage to review the content first.

 

Hope this helps and thanks for making the effort to work through this content and provide your inputs.

Hannes Fuchs
Tera Contributor

Struggling with Tassk 14: Configure Remediation (Utah). Points 1-4 successfully done. After recalculating correctness rule "no data to display" under "Orphan CIs". Could you please assist. Email: johann.fuchs@allianz.com   Regards, Johann 

Brandon J
Tera Contributor

Why is mine not generating the orphan ci tasks? I followed the exact steps in the pictures but my orphan tasks remains empty.

 

I assume you ran the correctness scheduled job after you configured the orphan rule and double checked you configured it as defined in the requirement?

Just an fyi:
If you are working on a Vancouver simulator, these have been updated to adaptive simulator types which allow you to click the proficient and the beginner level buttons for additional assistance on completing the task. The beginner level provides a video on how to complete task. You can view the "Before you Start" lesson that has a video on how to use the adaptive simulators if need be. If you are not getting the expected result I would access the help provided in the Adaptive Sim. Thanks.