how can we know through script that whether a DCR is associated with a workflow or not
Do you need this script to be a part of the workflow e.g. as an external task?
The problem statement is not clear. Please elaborate if you want a meanigful answer.
What do you mean by Do you need this script to be a part of the workflow e.g. as an external task? The problem statement is not clear. Please elaborate if you want a meanigful answer.
We want a single DCR at a particular time should be assigned with a workflow.Until and unless a particular work is over no other assignment to the particular workflow should be done.
my $task = new TeamSite::WFtask($taskId)
my @file = $task->GetFiles()
It all depends on what you are doing in your workflow. I mean the way you have developed your workflow. If you are assigning just one DCR then it will act only on that.Are you trying to edit / modify any existing workflow or developing a new workflow?
You need to create a new external task in your workflow, which should check if the DCR is attached using the command mentioned in my previous post.
If there is a file attached this task would go to END TASK or to another task as desired.
You need to create a new external task in your workflow, which should check if the DCR is attached using the command mentioned in my previous post. If there is a file attached this task would go to END TASK or to another task as desired.