cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to change (increase) the priority of an event?

spatel-21
1-Visitor

How to change (increase) the priority of an event?

Dear experts,

When a specific event is triggered I want to increase its priority of execution. As per the documentation the events are asynchronous and priority can not be set.

Is there any way to do so?

3 REPLIES 3

As I know not on a standard way.

You will need to implement you system. But By the way, as TW doesn't supports Multiple subscriptions from the same Thing to the same Event, you will end up ( if your use case it's complex ) doing it anyway.

Carles.

Hello Carles,

Implement my own system?

I'm sorry but i'm unable to figure out your solution. Can you please elaborate?

Hello,

Well, not something that can be written on two lines

What I will do it's to build a ThingShape which subscribes to the desired Events to keep in control, and add this Shape to any Thing which you should keep in control.

Then from this subscription code, you can control the execution order for whatever.

Best Regards,

Carles.

Announcements


Top Tags