Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Sim Task #7 Create a Business Rule that calls a Script Include Can not get to work

eplee
Giga Contributor

I've double checked the code multiple times.  I can not see where the issue is.  It is not writing to verify the script log statements. 
Business rule:

eplee_0-1786024947834.png

 Here is the advanced:

eplee_1-1786024964868.png

Here is the Script Include:

eplee_2-1786024981628.png

 

1 ACCEPTED SOLUTION

Nishant8
Tera Sage

Hello @eplee , Your scripts look fine and should work. However, could you please verify below minor things:

- Ensure there is no space in the name of Script include (I couldn't verify as it was blur in the screenshot)

- Category of the Problem, which you are updating, is Hardware

- Check the output at System Logs-> System Log -> Script Log Statements

 

Regards,

Nishant

View solution in original post

3 REPLIES 3

k_lutz
Giga Sage

Hello @eplee 

 

This worked for me. Please see screenshots. I did this in my PDI.

 

k_lutz_0-1786131892364.pngk_lutz_1-1786131925165.pngk_lutz_2-1786131941447.png

 

eplee
Giga Contributor

Thank you so much for your response.   I don't know if it's my pc, but images are coming up blurry.  I am unable to compare to the code I used.   I'll try to do my best to review the code. Thanks again.

Nishant8
Tera Sage

Hello @eplee , Your scripts look fine and should work. However, could you please verify below minor things:

- Ensure there is no space in the name of Script include (I couldn't verify as it was blur in the screenshot)

- Category of the Problem, which you are updating, is Hardware

- Check the output at System Logs-> System Log -> Script Log Statements

 

Regards,

Nishant