chuckjonas / apex-chainable Goto Github PK
View Code? Open in Web Editor NEWA framework for managing multiple asynchronous processes in Salesforce
License: MIT License
A framework for managing multiple asynchronous processes in Salesforce
License: MIT License
Currently the status is just tracked directly on the Chainable_Link__c
object. This makes it easy to access the result, but unfortunately complicates scenario's where a link gets run multiple times.
I think it would make more sense to track the status as a separate child object:
Chainable_Link_Execution__c
Chainable_Link
: Master-DetailExecution_Date
Status
: PicklistError_Details
:Response
: LONG Text String (or maybe even attachment?)Response_Type*
: ONLY if we decide that the response could be set dynamically at runtime. Otherwise the Chainable_Link__c
would track the response typeDue to the release of theBatchApexErrorEvent, there is a clear advantage in running this process in Batchable
instead of Queuable
.
The only existing functionality that might be tricky to recreate might be appendLinks()
. Still, being able to properly handle limit exceptions is much more important then the abiblity to append actions mid-execution
I think it would be nice to have a way to log arbitrary messages about the execution which might help with debugging but aren't wanted in the Action Response.
We could do this by adding a base class method log(String msg)
which would just append to a string and then save the result on the Execution Status (see issue #1).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.