Notifications
Clear all

[Solved] Outbound Interface , Make Net change based and Apply Org Level Permission

1 Posts
2 Users
2 Likes
12.8 K Views
1
Topic starter

I need to create a net change based outbound interface ,and let user to subscribe through New Report subscription

1. Can I use sysId based interface for that purpose ?

2. How do I apply permission to the outbound. I think report subscription can be run using specific role instance. However its unclear from documentation how we can apply permission

3. Date Range filters : how do I avoid sending a whole lot of historical data as Net change based outbound when the first time the message is sent to outbound ?

1 Answer
1

1. Can I use sysId based interface for that purpose ?

> No, sysId are action based.  You need to use Net Change based.

 

2. How do I apply permission to the outbound. I think report subscription can be run using specific role instance. However its unclear from documentation how we can apply permission

> The executing context will be bound under the normal params for you to use like $MY_ROLE_ID$, $MY_ORG_ID$, etc.  So you can setup perms that way, and also can use the standard model permission macro.

 

3. Date Range filters : how do I avoid sending a whole lot of historical data as Net change based outbound when the first time the message is sent to outbound ?

> I suppose in the query you could select the "greater" of the last sync date vs 30 days ago or something similar, so that the net change is capped at no more than 30 days.