Page History
...
Add-JS7InventoryItem [-Path] <String> [-Type] <String> [[-FileItem] <String>] <Object> [[-DocPath] <String>] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]
...
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
Item
-File <String>Item <Object>
Specifies the path to the JSON file that holds the configuration object. PowerShell object that represents the JSON item to be added. Consider to create a PowerShell object from JSON like this:
'{ "limit": 1 }' | ConvertFrom-Json
Required? | falsetrue |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
PS > Add-JS7InventoryItem -Path /some/directory/sampleWorkflow sampleLock -Type 'WORKFLOW' -File /tmp/workflow-174.jsonLOCK' -Item ( '{ "limit": 1 }' | ConvertFrom-Json )
Read the worfklow configuration from the given file and store the workflow with the specified path.