Hello Team,
I am working on one of the project, for which i have developed multiple workflows and few of the workflows uses inlinescript.
currently i am not bale to call a workflow from inlinescript. need help on the same.
Example script:
workflow abc{
Write-Verbose "I am abc"
}
workflow abc1{
Write-Verbose "I am abc1"
}
workflow abc2{
abc1
inlinescript{
abc
}
}
abc2 -Verbose
Error :
VERBOSE: [localhost]:I am abc1
The term 'abc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
+ CategoryInfo : ObjectNotFound: (abc:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : [localhost]
Thanks
sridhar v