Expand my Community achievements bar.

SOLVED

How to send alert to computed operator

Avatar

Community Advisor

Did anybody implemented this.. for me the as i thought simple task of adding to init script

//does nothing
activity.operator.id = mineId;
//also
instance.activities.alert[0].operator.id = mineId
//does nothing 
or
//throws error
activity.operatorId = mineId;
//throws error
instance.activities.alert[0].operatorId = mineId

 

Thank you for any help

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hello @Marcel_Szimonisz 

 

The bellow code have worked for me :

activity.operator_id = instance.vars.MyidOperator

 

Hope it's helpfull for you 

 

BR,

Amine

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

Hello @Marcel_Szimonisz 

 

The bellow code have worked for me :

activity.operator_id = instance.vars.MyidOperator

 

Hope it's helpfull for you 

 

BR,

Amine

Avatar

Community Advisor
Yes I figured it our right after I posted the question