Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to send alert to computed operator

MarcelSzimonisz
Community Advisor
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
aminea31289079
Correct answer by
Level 2
Level 2

Hello @MarcelSzimonisz 

 

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

0 Replies
aminea31289079
Correct answer by
Level 2
Level 2

Hello @MarcelSzimonisz 

 

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

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