This project has moved. For the latest updates, please go here.

Start-CrmProcess

Synopsis

Start a Process

Syntax

Start-CrmProcess [-Process] <Guid> [-Record] <Guid> [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Starts a Process on the provided record

Parameters

-Process <Guid>

Id of the process to start

Required? True
Position? 1
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Record <Guid>

Id of the record to start the process on.
Record must be in the primary entity of the process.

Required? True
Position? 5
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-WhatIf <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

System.Guid

Id of the AsyncOperation created for the process

Notes

Examples

Start process

PS C:\> Get-CrmContent incident -Id a0319884-7290-e511-80d8-00155d006b16  | Start-CrmProcess -Process 0ffbcde4-61c1-4355-aa89-aa1d7b2b8792

Start the process with Id '0ffbcde4-61c1-4355-aa89-aa1d7b2b8792' on the record with Id 'a0319884-7290-e511-80d8-00155d006b16' from the Entity 'incident'.

Related links

Last edited Mar 11 at 7:03 PM by amsoftware, version 2