Cancel button for a specific catalog (how?)

Joshua Comeau
Kilo Sage

Looking to know how to add to my script on making sure this button only appears on a specific catalog 

 

currently have the following and it works but it shows up on all catalogs 

 

JoshuaComeau_0-1688556367355.png

 

3 ACCEPTED SOLUTIONS

@Joshua Comeau 

try it without the function only with current… directly

View solution in original post

Joshua Comeau
Kilo Sage

This is the solution:

JoshuaComeau_0-1688561603446.png

 

View solution in original post

Samaksh Wani
Giga Sage

Can you please mark my solution as Accept, As i helped you to write a condition.

 

Regards,

Samaksh

View solution in original post

30 REPLIES 30

current.name == "name" 

 

use this

did not work strange

@Joshua Comeau 

I tried:

 

(current.sys_id == 'a83820b58f723300e7e16c7827bdeed2')

 

 and it worked try to add '()', if not try to set order to 0

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up. 

 

best regards 

tried the condition as well set the order to 0 and still not working very strange 

@Joshua Comeau  I don't think it is correct to write an action name with spaces, make short and without spaces

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up. 

 

best regards