You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check for commit every $CommitMaxItems updates to avoid having too many staged items in memory. If $CommitMaxItems is -1, it will not commit until all items are processed.
# Skip if the item does not have the integration field
67
106
if(-not$item.$IntegrationField){
68
-
"[Update-ProjectItemsWithIntegration] $($item.id) does not have the integration field $IntegrationField, skipping"|Write-MyDebug-section "Integration"
107
+
"[Invoke-ProjectRecordUpdateWithIntegration] $($item.id) does not have the integration field $IntegrationField, skipping"|Write-MyDebug-section "Integration"
69
108
continue
70
109
}
71
110
@@ -76,15 +115,15 @@ function Invoke-ProjectInjectionWithIntegration{
76
115
$values=Invoke-MyCommand-Command $command
77
116
}
78
117
catch {
79
-
"Something went wrong with the integration command for $($item.id)"|Write-Error
118
+
"[Invoke-ProjectRecordUpdateWithIntegration] Something went wrong with the integration command for $($item.id)"|Write-Error
80
119
}
81
120
# Call the ingetration Command with the integration field value as parameter
0 commit comments