SaschaS Valued Contributor.
Valued Contributor.
250 views

Dynamically Launch Flow Error with centralFlowLaunchWaitForFlow = true

Hello.

I get an error if I use the "Dynamically Launch Flow" Operation with the parameter "centralFlowLaunchWaitForFlow" = true.

The error is:

 

{exception=java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Long.parseLong(Long.java:601)
	at java.lang.Long.parseLong(Long.java:631)
	at com.hp.oo.content.oo.services.impl.ExecutionServiceImpl.getTriggeredFlowStatus(ExecutionServiceImpl.java:241)
	at com.hp.oo.content.oo.services.impl.ExecutionServiceImpl.dynamicallyLaunchFlow(ExecutionServiceImpl.java:172)
	at com.hp.oo.content.oo.actions.general.DynamicallyLaunchFlow.dynamicallyLaunchFlow(DynamicallyLaunchFlow.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:344)
	at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:257)
	at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:102)
	at sun.reflect.GeneratedMethodAccessor1586.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:91)
	at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:331)
	at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:85)
	at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:173)
	at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:126)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:39)
	at java.lang.Thread.run(Thread.java:748)
;returnCode=-1;returnResult=For input string: "";Result=For input string: "";}

 

Despite the error above the Flow which should be started is started and ended successfully.

If I use the value "false" for the "centralFlowLaunchWaitForFlow" the flow works fine.

The flow which is started with "Dynamically Launch Flow" has no input parameters.

Has anyone a clue?

Hints would be very appreciated.

Thanks in adavance.

Cheers

  -- Sascha

 

0 Likes
1 Reply
Carlos_R_OO Super Contributor.
Super Contributor.

Re: Dynamically Launch Flow Error with centralFlowLaunchWaitForFlow = true

 Thank you for contacting Micro Focus Forum. 

 My name is Carlos Robles, I am from the OO/CSA team. 

 Regarding your question, you are getting the error ‘exception=java.lang.NumberFormatException: For input string: "” ‘as the operation is waiting for a value in the input string. If you set the parameter as false, this input will be disabled and you would not wait for that input stringand.

I hope this information can be helpful.

Best Regards,

 


Carlos Robles Rojas
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation. “

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.