on 2024 Mar 18 10:28 AM
Hello Experts,
I have a client requirement to calculate commissions in real-time. Here's the scenario: each time a credit is generated from the source system, the sales data flows into the SF Incentive Management system. Once it's there, a pipeline run should be triggered immediately, and this process generates payout files from the Incentive Management system.
Now, typically the leaf level of the calendar is the day. However, in my specific scenario, I need to run multiple payouts within each day. This means that instead of processing commissions just once per day, I'll need to do it several times throughout the day whenever there's a credit.
Is this feasible and technically possible? Please also highlight any potential drawbacks or limitations associated with it.
Your expert opinion on this matter would be immensely valuable.
Request clarification before answering.
In theory you could probably do such a thing, using some external system to trigger a pipeline for every single credit fed in and run a per-position pipeline.
But the question becomes why would you want to? For any normal volume of users this would result in a large amount of pipelines per day. You could end up with multiple pipelines queued depending on the how long it takes to process. Unless your volumes are low and your pipelines in the minutes then this may become difficult.
Also as you say the calendar leaf period is a limitation here. If you re-run the pipeline for that day you'd re-calculate all the results for that day so posting becomes necessary if you want to keep records of those payouts. But if a mistake is made it's going to be hard to undo it given the timings.
I've seen daily runs before but never "instant" payouts like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.