Latest Updates for OS1 Services

12min
release date march 21, 2023 and march 28, 2023 hello os1 developers 👋 we’re excited to announce our latest improvements to our os1 services our team has been working hard to improve your experience, and we have some great enhancements to share so let’s dive into the details! ⚒️ what’s new in os1 workflow service and dispatch sdk enhancements handle multi objective runs in workflows we’ve significantly improved the workflow service and dispatch sdk which will make the field executive (fe) experience faster and more efficient with this release, fes can now execute tasks across different objectives simultaneously instead of processing individual shipments one by one this change enables field executives (fe) to complete multiple deliveries in one trip for example, suppose an fe has three cash on delivery (cod) packages addressed to the same customer in that case, they can now deliver all three in one visit instead of making three trips this reduces the turnaround time and ensures a smoother, more seamless experience for both fes and customers os1 developers can benefit from developing apps that enable delivery completion in a cost and time effective manner workflow service docid 3yv38kxhtmuykxynkwcdr send et event information asynchronously we’ve upgraded our dispatch sdk with the ability to send out event tasks (et) event information asynchronously! previously, the workflow execution did not send notifications without moving from one event to another with our latest update, the dispatch sdk will now emit two asynchronous events – one just before and another right after the execution of every et in the workflow here’s a brief rundown of the enhancement task start event this event is triggered upon the arrival of an et, providing you with input data to kick off the task with this, you can quickly get a heads up when a task is about to kick off, allowing you to prepare for any necessary actions task end event this will be triggered before moving to the following event task you’ll receive the output data of objectives executed in the current et and the id of the next et to be completed this allows you to wrap up any loose ends before diving into the next task now you can easily stay informed as your workflow progresses, allowing you to listen to these events and take any necessary actions to tailor your business use cases dispatch sdk docid\ ecvv9evuziu8g9mcjr1j1 execution task enhancements configure multiple event and reason codes on execution tasks we’ve enhanced our execution tasks capabilities to provide more flexibility previously, our et configuration allowed you to define only one event code each for success and failure events additionally, you could specify the underlying reason codes for these events with this improvement, you can now define multiple event codes based on your specific business needs and seamlessly associate them with the success or failure of your execution tasks dynamic values in form event tasks this release greatly improves our workflow designer’s form execution tasks (et) feature! form et has been a valuable tool for admin users, enabling them to easily create custom input fields such as text boxes, radio buttons, and more for their workflows this is especially useful when workflows require real time on the ground input until now, form et only supported static values for fields that needed to be preloaded with data, like radio buttons to enhance this functionality, we’re excited to introduce the ability to pass dynamic values in form et! with this powerful new feature, developers and admin users can now configure form et to accept dynamic values, giving you even more flexibility and control over your workflows this means you can quickly tailor your forms to meet your unique needs learn more about workflow designer sdk docid\ eqhu6w3sq0pmszflrkdar and dispatch sdk docid\ ecvv9evuziu8g9mcjr1j1 sdks revisit previous execution tasks in a workflow in some instances during workflow execution, fes may need to go back and review or modify previous steps in a workflow whether it’s a rescan of shipments or updating nsls/er codes based on the seller’s response to the epod, we’ve got you covered! with this release, we’ve introduced the ability to return to previous ets in your execution workflow this handy feature creates a more adaptable workflow experience with the flexibility to revisit and adjust your tasks as needed learn more about execution task and macro payloads docid\ pgy7fvosqsslnrlhub52g participant, entity, and container enhancements participant, entity, and container instance validation improvements we’re excited to share some significant improvements to the participant, container, and entity services we have successfully upgraded our database validations and destination state checks from synchronous to asynchronous operations, providing a smoother and more responsive user experience now, when calling state transition or update apis immediately after receiving a 202 status from a post api call, you’ll experience enhanced performance and responsiveness here are some highlights of the key enhancements async instance specific validations we have moved instance specific validations to the async handler, such as checking if a participant instance is present this change ensures a more efficient and streamlined validation process for your instances command handler updates we’ve made important updates to our command handlers! we’ve reconfigured the create, update, and appplyevent command handlebars to work seamlessly within a single go, following the changes made to our event sourcing library, providing more streamlined operations when working with os1 learn more about participant docid\ ixssds2yvjpwqx3 zmq70 , entity docid\ aybe70hu6gdjh5mpverll , and container docid 84wc3sojyiq92xsenyfzo latest postman collection click the run in postman button below to open a modal where you can fork our latest collection to your workspace and stay up to date with the latest changes run in postman