OpenFn automation happens via jobs which define specific steps ("operations") that OpenFn should perform. They're written in a scripting language that runs on top of (and has full access to) Javascript. A basic understanding of Javascript will take your job writing on OpenFn to the next level. To improve my limited knowledge of JavaScript, I have been taking Codecademy's Introduction to JavaScript Course.
11 posts tagged with "tips"
View All TagsTesting a React app, the blurred line between Unit, integration and E2E
Wrapping my head around jobs
Jobs are business processes turned into functional-style scripts. What does that mean, how should you approach writing jobs?
Forms and Cases: CommCare and event-based integration
This is a quick one, but I just got off an exciting call with an organization that's going to set up some jobs to move data into Salesforce from CommCare and realized that despite this being one of our more common integration requirements, we haven't done a 'tips' article for this type of project. Until now.
Sync Like You Mean It: Thinking Through System “Syncing” Protocols
“Syncing” is getting two systems to a state of harmony. This might mean keeping a list of patients up to date, though modifications can be made in either system. It might mean copying transactions from one system to another on a nightly basis. It might mean a lot of things, but the key concept is that when you sync systems, you’re asking them to work together while simultaneously respecting both software systems’ independence.
In this post we’ll discuss two different syncing protocols to consider when designing your data integration. These include:
- Real-time, or event-based, syncs
- Scheduled syncs
Our Servers or Yours: Thinking through deployment options
Zandile is a program manager at an iNGO and she needs to use CommCare, DHIS2, and OpenFn for an upcoming public health project. She understands that all three pieces of software can be deployed locally, or accessed as SaaS (Software as a Service).
Essentially, Zandile needs to decide if she would like to run the software on someone else’s servers (SaaS), or on her organization’s own servers (deployed locally). Before making a decision she outlines the basic, non-technical considerations for both options.
Tracked entity instances in DHIS2
tl;dr: Lots of our users want to upsert tracked entity instances in dhis2, but
upserts aren’t supported by a standard DHIS2 API endpoint. We built one in our
dhis2 adaptor: it’s composed of existing APIs and a bit of logic 🤔. Now you can
upsert
tracked entity instances to DHIS2 👍 ✅.
Product News: Enhanced Scheduled/Periodic Job Control
Hi all, this is a quick one from the product team at OpenFn — we've made a major upgrade to how timed/period jobs work.
Allow Yourself to Fail
To Automate or Not to Automate? Ask Yourself These 3 Questions.
Automation can save time, unlock critical resources, and enable scale–but it typically requires investment to set up. Wondering whether you should automate your processes? Ask yourself these 3 questions.