What are CTX methods available in pattern designer

Jakub Longauer
Tera Contributor

I am trying to build a custom operation.

What are available methods for CTX object?

CTX object contains all information passed from the pattern.

1 ACCEPTED SOLUTION

robertgeen
Tera Guru

One other link for you. This has a lot examples of how CTX gets called in custom eval scripts.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0647736

Please if a comment here satisfied your question please mark it as correct so other people will be able to search it later on. Thank you.

View solution in original post

4 REPLIES 4

Chatarina Lyth
ServiceNow Employee
ServiceNow Employee

Hi!

 

You can have a look at this KB that is describing the CTX-object:

https://hi.service-now.com/kb_view.do?sys_kb_id=16375308db8226044fc2f4621f9619ff&sysparm_rank=1&sysparm_tsqueryId=76155bb4db68e744b2102926ca961908

 

Hope that helps!

 

robertgeen
Tera Guru

Great Link. Unfortunately these aren't well documented but one of the things I recommend you do is search all pattern text for ctx. and you will get some great examples of how it is used (for example ctx is used to return table information back and it has to be in a specific format). Thanks.

Jakub Longauer
Tera Contributor

 

Thank you very much.

robertgeen
Tera Guru

One other link for you. This has a lot examples of how CTX gets called in custom eval scripts.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0647736

Please if a comment here satisfied your question please mark it as correct so other people will be able to search it later on. Thank you.