If you missed the pre-registration for NetApp MS Azure AD B2C, the new login prompt will offer the option to register. Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

jobid empty REST API ( sometimes ) - workflow executed correctly

trentino123

Calling WFA from POSH using REST API. Finding frequent timeouts to get a job ID when executing a workflow.

 

Write-Host "Executing workflow : $workflowname"
$jobid = $wfa.executeWorkflow (...)

 

The workflow is executed fine, but very often the $jobid shows an empty variable.

 

Is there any way to fix this?

 

Thanks in advance.

1 ACCEPTED SOLUTION

sinhaa

@trentino123

 

Default time-out for a Web Service Proxy object ( $wfa) is 100 sec ( 100000 ms ). You can modify it as:

 

# Making it 500 sec.

 

$wfa.Timeout =  500000

 

## Now call Execute workflow method

 

$jobid = $wfa.executeWorkflow (...)

 

 

sinhaa

 

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

2 REPLIES 2

sinhaa

@trentino123

 

Default time-out for a Web Service Proxy object ( $wfa) is 100 sec ( 100000 ms ). You can modify it as:

 

# Making it 500 sec.

 

$wfa.Timeout =  500000

 

## Now call Execute workflow method

 

$jobid = $wfa.executeWorkflow (...)

 

 

sinhaa

 

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

trentino123

Thanks Sinha ! That solved the issue.

 

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public