Introduction #
In the context of managing workflows within the SKYVVA integration application, flexibility in controlling when these workflows are active is crucial for efficient system management and testing. Currently, the application does not allow users to disable a workflow or rule directly. Instead, users must deactivate the specific conditions associated with different target interfaces to stop the workflow from triggering. This method can be bulky, especially in complex systems where workflows are critical for day-to-day operations.
The alternative to deactivation—deleting the workflow rule—is even less user-friendly. Deletion removes the rule entirely, which is not practical if there is a possibility of needing the same workflow for future testing or re-implementation. This approach disrupts the ability to revert system changes through iterative testing quickly.
A more user-friendly solution would be introducing a feature within the SKYVVA integration application that allows users to disable and enable workflow rules as needed. This capability would provide users with greater flexibility, allowing them to maintain the integrity and utility of their workflows without permanent deletion. By simply disabling a workflow, users could effectively halt its operation without impacting the underlying configuration, making it easy to reactivate when needed for further testing or operational purposes. This feature would significantly enhance usability and adaptability in managing integration workflows.
Prerequisite #
To effectively set up and manage data integrations using the SKYVVA integration application, it’s essential to follow a structured process that ensures all necessary components and configurations are correctly implemented.
By exactly following these steps, the user can ensure a comprehensive and error-free setup for handling data integrations using the SKYVVA application. This structured approach enhances data integrity and process efficiency and provides a scalable framework that can adapt to evolving integration requirements.
Active and Deactivate on Workflow #
We have enhanced the functionality that allows users to activate and deactivate workflows.
- When ‘Active’ is set, the workflow will trigger the workflow rule.
- If the ‘Deactivate’ option is set, your workflow will not run at all.
Steps:
- Create Integration
- Create Metadata Provider, Repository, and MessageType
- Create an Inbound interface and link MessageType
- Do the mapping
- Assign IWorkflow on the main interface
Create a new Inbound Interface and link with MessageType
- Do the mapping
- Assign Workflow on the Main Interface
Navigate to Workflows tab => Account_v4Integrate => New IWorkflow Condition
Enter the condition: Name <> “TestAccount2-SB” & Name <> “TestAccount100-SB”
1. Active workflow status(default setting)
Expectation
- Pending Status: In SKYVVA, a “pending” status indicates that the message has been received but has not yet been processed through the integration flow. This can be due to several reasons, such as delays in processing, a backlog of messages, or simply waiting in the queue to be picked up by the processing apex job.
Steps to Achieve and Verify:
- Post Data via Postman:
- Ensure that Postman is configured with the correct API endpoints and authentication details required by the SKYVVA interface.
- Send the data payload designed according to the MessageType linked with your Inbound Interface.
- Ensure headers, method (POST), and other configurations align with what SKYVVA expects.
- Monitor Message Status:
- Navigate to the Message Monitoring section of the SKYVVA application.
- Look for the new message entry corresponding to your recent API call from Postman.
- Check the status column to confirm if it’s marked as “pending.”
- Post data from Postman and calling SKYVVA V4/integrate
2. Disable workflow status
Navigate to Workflows tab => Account_v4Integrate => Actions
- Click Save
When using the SKYVVA integration platform, the expectation of seeing a “Green Status“ in the Message Monitoring dashboard after posting data via Postman indicates that the message has been successfully processed. A green status typically represents a successful execution of the integration flow, meaning the data has been received, and processed correctly, and no errors were encountered during the transaction. Here’s how to ensure and verify this outcome:
Steps to Ensure a Successful Message Transmission:
- Configuration Check:
- Before posting data, ensure that all configurations in SKYVVA are properly set up. This includes the integration, inbound interface, MessageType, and any necessary mappings.
- Confirm that the IWorkflow assigned to the main interface is active and correctly configured to handle incoming messages.
- Prepare and Send Data via Postman:
- Configure Postman with the correct API endpoint URL provided by the SKYVVA inbound interface.
- Set the appropriate HTTP method (usually POST) and include any required headers, such as Content-Type and authentication tokens.
- Ensure that the body of your request matches the structure required by the MessageType linked to your inbound interface.
- Post the Data:
- Send the request from Postman. Ensure no errors in the request setup could prevent the data from reaching the SKYVVA server.
Monitoring and Verify:
- Check Message Monitoring Dashboard:
- After posting, go to the Message Monitoring section within SKYVVA.
- Refresh the view to see the latest messages. Look for your message based on the timestamp and source identifiers.
- The message status should show as green, indicating a successful processing.
- Post data from Postman and calling SKYVVA V4/integrate
Summary #
Now the user can understand that Disabling a workflow within an integration platform temporarily halts its execution without deleting it, allowing for easy reactivation. This user-friendly feature ensures workflow availability for future testing or reimplementation while maintaining system integrity and flexibility.