Skip to main content
Answer

Can someone tell me what is wrong with this workflow script activity?

  • August 11, 2022
  • 3 replies
  • 78 views

chrisknows
Byte
Forum|alt.badge.img+10

I have a short script activity that checks the output of a powershell command, as far as I can tell it works perfectly but when I run “check syntax” it gives me a lexical error.

 

 

Best answer by Sunil

Hi @chrisknows 

Please try

update == “add” instead of ‘add’ in line number 11. (Double quotes).

 

Thanks,

Sunil-

3 replies

Sunil
Vaulter
Forum|alt.badge.img+13
  • Vaulter
  • Answer
  • August 11, 2022

Hi @chrisknows 

Please try

update == “add” instead of ‘add’ in line number 11. (Double quotes).

 

Thanks,

Sunil-


chrisknows
Byte
Forum|alt.badge.img+10
  • Author
  • Byte
  • August 11, 2022

Unbelievable, that worked. Thank you.


Sunil
Vaulter
Forum|alt.badge.img+13
  • Vaulter
  • August 11, 2022

Great!!