Tag value change script does not run when tag be triggled

Hi Dear All:
I write a tag value change script in a boolean tag when triggled to send a alarm message to Feishu(a Instant messaging tool by bytedance like ms Teams) by call System util Python script , its works in Tools->Script Tool by manual trigger,but its not works in tag value change script when fired ,
can anyone help me to solve this problem
much appreciate!

Script console is running in the Designer PC.
Tag Value Changed events are running on the gateway. It can't find C:\Users\MI\AppData\ ... as it does not exist on the gateway.

1 Like

Got it!