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

glenn_pinto
ServiceNow Employee
ServiceNow Employee

For anyone struggling on this task, make sure you review section 7.4 of the CMDB Fundamentals course on Now Learning. This assessment task is to test understanding of this lesson. We provide a super set of information that should provide enough information to be successful with this task including an in depth demo. 

https://nowlearning.service-now.com/lxp?id=overview&sys_id=c120bb5bdbd0c8103e3aaca2ca9619bf&type=path

 

 

Hi Glenn,

I am taking this course and having an Issue completing it. I could not complete the task and I submitted my score (attachment). Do I need to get 100% to get the certification. The passing score was 80% for the Simulator. I have completed the entire course (attach) and It still shows as pending.

Please advise.

 

Thank You

Sloan D_
Tera Contributor

Will do!  Thank you, Glenn!

Sloan D_
Tera Contributor

Hello Glenn,

 I am going to take my 96% score and run, especially since my simulator expires this Thursday! 

 I have reviewed the videos related to the CI Class Manager, Orphan CIs, Remediation Rules, and creating the Workflow.  I have verified the configurations suggested by the validation error’s recommendations.  All configurations “appear” to be correct.  And, I get the expected results.  I even blew away all of my configurations and started over several times, to no avail.  Since I am not familiar with workflows, I used the suggestion posted by Martin Markovsky, and it worked!

 However, I did notice a constant strange behavior.  Although my Remediation Rule is set to manual, as soon as I run the Health Job, the Short Description is populated!  If afterwards I select Remediate, there are appears to be no change in the results.  (I was thinking that maybe I’d see duplicate statements in the Short Description after clicking Remediate in the Orphan task.)  This is a consistent behavior, even after blowing everything away!  I even kept all configurations and blew away the Remediation Rule, and received the same results. I checked that my Workflow was set to “None”. 

 At this point, I am frustrated.  I may have overlooked something.  I am going take Mary’s suggestion and open a case.  Nonetheless, if you have any suggestions, please share. 

 Also, must I get 100% in the simulator to obtain a badge?

 Thanks!

I am in the same boat. Opened up a case with Support. Will let you know once I hear back from them.