Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ihs Command Reference
  14. infacmd ipc Command Reference
  15. infacmd isp Command Reference
  16. infacmd ldm Command Reference
  17. infacmd mrs Command Reference
  18. infacmd ms Command Reference
  19. infacmd oie Command Reference
  20. infacmd ps Command Reference
  21. infacmd pwx Command Reference
  22. infacmd rms Command Reference
  23. infacmd rtm Command Reference
  24. infacmd sch Command Reference
  25. infacmd search Command Reference
  26. infacmd sql Command Reference
  27. infacmd tdm Command Reference
  28. infacmd wfs Command Reference
  29. infacmd ws Command Reference
  30. infacmd xrf Command Reference
  31. infacmd Control Files
  32. infasetup Command Reference
  33. pmcmd Command Reference
  34. pmrep Command Reference
  35. Working with pmrep Files

RecoverWorkflow

RecoverWorkflow

Recovers suspended workflows. To recover a workflow, specify the folder and workflow name. The Integration Service recovers the workflow from all suspended and failed worklets and all suspended and failed Command, Email, and Session tasks.
The RecoverWorkflow command uses the following syntax in the command line mode:
pmcmd RecoverWorkflow <<-service|-sv> service [<-domain|-d> domain] [<-timeout|-t> timeout]>
<
<-user|-u> username
|
<-uservar|-uv> userEnvVar
>
<
<-password|-p> password
|
<-passwordvar|-pv> passwordEnvVar
>
[<<-usersecuritydomain|-usd> usersecuritydomain
|
<-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>] [<-folder|-f> folder] [<-paramfile> paramfile] [<-localparamfile|-lpf> localparamfile] [-wait|-nowait] [<-runinsname|-rin> runInsName] [-wfrunid workflowRunId] workflow
The RecoverWorkflow command uses the following syntax in the interactive mode:
RecoverWorkflow [<-folder|-f> folder] [<-paramfile> paramfile] [<-localparamfile|-lpf> localparamfile] [-wait|-nowait] [<-runinsname|-rin> runInsName] [-wfrunid workflowRunId] workflow
The following table describes
pmcmd
RecoverWorkflow options and arguments:
Option
Argument
Description
-service
-sv
service
Required. Integration Service name.
-domain
-d
domain
Optional. Domain name.
-timeout
-t
timeout
Optional. Amount of time, in seconds,
pmcmd
attempts to connect to the Integration Service.
If the -timeout option is omitted,
pmcmd
uses the timeout value specified in the environment variable INFA_CLIENT_RESILIENCE_TIMEOUT. If the environment variable is not set,
pmcmd
uses the default timeout value. Default is 180.
-user
-u
username
Required in command line mode if you do not specify the user name environment variable. User name. Not used in interactive mode.
-uservar
-uv
userEnvVar
Specifies the user name environment variable.
Required in command line mode if you do not specify the user name. Not used in interactive mode.
-password
-p
password
Required in command line mode if you do not specify the password environment variable. Password. Not used in interactive mode.
-passwordvar
-pv
passwordEnvVar
Required in command line mode if you do not specify the password. Password environment variable. Not used in interactive mode.
-usersecuritydomain
-usd
usersecuritydomain
Optional in command line mode. Required if you use LDAP authentication. Name of the security domain that the user belongs to. Not used in interactive mode. Default is Native.
-usersecuritydomainvar
-usdv
userSecuritydomainEnvVar
Optional in command line mode. Security domain environment variable. Not used in interactive mode.
-folder
-f
folder
Required if the workflow name is not unique in the repository. Name of the folder containing the workflow.
-paramfile
paramfile
Optional. Determines which parameter file to use when a task or workflow runs. It overrides the configured parameter file for the workflow or task.
-localparamfile
-lpf
localparamfile
Optional. Specifies the parameter file on a local machine that
pmcmd
uses when you start a workflow.
-wait
-nowait
-
Optional. Configures the wait mode:
  • wait. You can enter a new
    pmcmd
    command only after the Integration Service completes the previous command.
  • nowait. You can enter a new
    pmcmd
    command after the Integration Service receives the previous command.
Default is nowait.
-runinsname
-rin
runInsName
Name of the workflow run instance you want to recover. Use this option if you are running concurrent workflows.
-wfrunid
workflowRunId
Run identifier number (Run ID) of the workflow run instance you want to recover. Use this option if you are running concurrent workflows.
Use this option if the workflow does not have a unique run instance name.
-
workflow
Required. Name of the workflow.


Updated April 22, 2019