How to use stop job activity using get job activity in uipath?

how to use stop job activity using get job activity in uipath?

1 Like

Hi
Get Jobs activity on mention the condition with robot status it will have retrieved jobs as output, as an IEnumerable variable.

Where condition will be mentioned like
such as "State eq 'Pending'"

Then use. For each loop and pass the obtained variable and inside the loop use STOP JOB activity and mention the input as item
Change the type argument in For each as orchestratorjobs we can search this type in Browse Type option in type argument property

Cheers @Sneha11

I cannot find “For each as orchestratorjobs” please help me for that.

1 Like

TypeArgument is UiPath.Models.OrchestratorJob

Cheers @Sneha11

I cannot find this “TypeArgument is UiPath.Models.OrchestratorJob”

Can I have a view on the search made if possible with a screenshot
@Sneha11

Hmm I can see like, kindly check once pls

TypeArgument property in For Each activity

@Sneha11

which package is install for that type argument?

Hi @Sneha11,

As of today that Fir Each Arguent is as the image below:

image

image

Be Safe!