Custom process scriptcomponent task (Errors occurred: Invalid process task)

(V9.2) I created a custom process component task (identical to ScriptExec 'Table: JobTask') with the name: ScriptExecMaxInstances5
As the name implies it has the max instances set on 5

Now when I run the process with the script process step (ScriptExecMaxInstances5) I get the following error:

<x><e>2024-05-01 11:48:18 +02:00 - Error - \SQL01 - VI.JobService.JobComponents.ScriptComponent - 1fc9515d-93c2-4931-a79d-30d05230fb24: Errors occurred
[829003] Invalid process task "ScriptExecMaxInstances5".
at StdioProcessor.StdioProcessor._Execute(Job job)
at VI.JobService.JobComponents.ScriptComponent.Activate(String task)

If created the JobParameters with a data import from this query:

select Description
,IsCompressed
,IsCrypted
,IsHidden
,IsOptional
,IsPartialCrypted
,Name
,Type
,ValueTemplateDefault
,ValueTemplateExample
,'CCC-6E579D2F4A957F4B8857A0DCCD174D3A' AS UID_JobTask
,'CCC-' + REPLACE(NEWID(), '-', '') As 'UID_JobParameter' from JobParameter where UID_JobTask in (select UID_JobTask from JobTask where TaskName = 'ScriptExec')

In designer this custom process component task looks good.
So I'm wondering why this doesn't work?

Regards,
Niels

Parents Reply
  • I have never heard of such a request and honestly, I am not seeing that coming as well.

    In regard to your use-case. what are you trying to do? Limiting the amount of concurrent script executions? As the script component is defined as an external component, the executions are limited by the configured number of external slots for the executing Job Service.

Children