Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Use of Temporary Variables in Scripting

edited Apr 3, 2014 11:52PM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 14 commentsAnswered

Which is the correct usage? And what makes the difference?

Usage.1:

var BCName = this.BusComp().Name();

var bS1 = TheApplication().GetService("Workflow Process Manager');

....

bs1 = null;

Usage.2:

var bComp = this.BusComp();

var sApp = TheApplication();

var BCName = bComp.Name();

var bS1 = sApp.GetService("Workflow Process Manager');

....

bs1 = null;

sApp = null;

bComp = null;

Cheers,

John Wesly J

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center