Workflow Compare
Process
- Create the
dev_wf_compareanddev_``wf_compare_itemon the source. - Send the
dev_``wf_compareanddev_``wf_compare_itemto the destination. - Run the compare workflow on the destination.
The compare workflow (on the destination)
- Finds the newest
dev_wf_comparewithis_done = 0. - Fills the
hash_destination,is_changedandis_missingfields ondev_``wf_compare_item. - Fills the
is_done = 1,changed_countandmissing_countondev_wf_compare. - Send the
dev_``wf_compareanddev_``wf_compare_itemto the source.
Schema
dev_wf_compare
| Field | Type | Description |
|---|---|---|
| uuid | String | |
| instance_name | String | The destination instance name |
| reply_to | String | The source instance name |
| changed_count | Integer | The number of workflows changed |
| missing_count | Integer | The number of workflows missing on the destination |
| is_done | Integer | If the comparison is done |
| id_ui_module | Foreign Key | The module |
dev_wf_compare_item
| Field | Type | Description |
|---|---|---|
| uuid | String | |
| workflow_name | String | The name of the workflow |
| hash_source | String | The hash of the workflow on the source |
| hash_destination | String | The hash of the workflow on the destination |
| is_changed | Integer | 1 if the workflow is different on the destination |
| is_missing | Integer | 1 if the workflow is missing on the destination |