Ask Your Question

Get the value from Scripting [closed]

asked 2019-10-02 13:02:02 -0500

Vss@2019 gravatar image

updated 2019-10-02 13:03:04 -0500


I have two different kind of scenarios

First Scenario :

Jython Scripting(Origin) ==> Call next Job via Rest API ==> Finisher

In the above scenario after completion of Jython Scripting stage it was not able to call second stage and it doesn't throw any error in SDC/SCH. Note : Scripting contains executing OS Commands. It doesn't get any value output from the Jython Scripting

Second Scenario :

Jython Scripting(Origin) ==> Expression Evaluator ==> and so on

In the current scenario i want to get the output of the values and use these values in the expression evaluator. How do we achieve it ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Vss@2019
close date 2019-10-11 07:59:21.971917

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-07 13:20:46 -0500

jeff gravatar image

For scenario 1, it's not entirely clear what is happening, just given your description. It sounds like something is going wrong during the script execution. Can you please paste the full Jython code? Is there any error shown in the sdc.log file?

For scenario 2, you can certainly create new fields in your record in response to code that executes in the script. The sample snippet that is shown to you when you drop in the Jython stage illustrates how to do this, as does the documentation.

edit flag offensive delete link more


Thanks Jeff for ur suggestions, I came to know there is a open bug on Jython Scripting Origin currently to generate events.

Vss@2019 gravatar imageVss@2019 ( 2019-10-11 07:59:07 -0500 )edit

Question Tools

1 follower


Asked: 2019-10-02 13:02:02 -0500

Seen: 310 times

Last updated: Oct 07 '19