Ask Your Question
0

Get the value from Scripting [closed]

asked 2019-10-02 13:02:02 -0600

Vss@2019 gravatar image

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

Hi,

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
0

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

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

Comments

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 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-02 13:02:02 -0600

Seen: 232 times

Last updated: Oct 07