Flow Action: Bulk Hardware Model Transfer #98
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Flow Action: Bulk Hardware Model Transfer
Migrate all assets and Configuration Items (CIs) associated with a hardware model to a new hardware model.
Inputs
Source Model (
source_model): The Reference.Hardware Model from which assets and CIs will be migrated. This is a Mandatory input.Target Model (
target_model): The Reference.Hardware Model to which assets and CIs will be migrated. This is a Mandatory input.Record limit (
record_limit): An Integer value to limit the number of records processed during the migration run.Update System Fields (
update_system_fields): A True/False flag to determine if system fields (e.g.,sys_updated_on,sys_updated_by) on the records should be updated during the migration.Delete Source Model? (
delete_source_model): A True/False flag to determine if the Source Model should be deleted after a successful migration of its associated records.Error Evaluation
The action includes explicit error evaluation conditions to handle cases where mandatory inputs are missing, providing clear status codes and messages:
1Source model can't be empty.source_modelinput is not provided.1Target model can't be empty.target_modelinput is not provided.1Record limit can't be empty.record_limitinput is not provided.