A Scenario is compiled or executable object like .exe; we can generate a scenario for packages, interfaces or variables, procedures.
Scenarios generated for procedures,
interfaces or variables are single step scenarios that execute the procedure,
interface or refresh the variable.
Scenario variables are variables used
in the scenario that should be set when starting the scenario to parameterize
its behavior.
Once generated, the scenario is stored
inside the work repository. The scenario can be exported then imported to
another repository and used in different contexts. A scenario can only be
created from a development work repository, but can be imported into both
development and execution work repositories.
Generating a scenario:
Go to designer navigator -> open
project -> First folder ->interface_name then right click on the
interface and select generate scenario.
Enter the name and version of the
scenario.
If we have done some changed based on
the requirement, then we need to regenerate the scenario else the previous
version will gets executed, so we need to regenerate the scenario.
Regenerating the scenario: Right click on the scenario which is already been generated.
Generating group of scenarios:
When a set of packages, interfaces,
procedures and variables grouped under a project or folder is finished and
tested, you can generate the scenarios.
Steps:
Right click on the project or folder
containing group of objects then click generate all scenarios.
Then it will show one window to choose
the mode of generation
Generation mode:
·
Replace: Overwrites the last
scenario version of each object with a new one but with the same ID, name and
version. Sessions, scenario reports and schedules are deleted. If no scenario
exists for an object, a scenario with version number 001 is created by default.
·
Re-generate:
Overwrites the last scenario version for each object with a new one with the
same id, name and version. It preserves the schedule, sessions and scenario
reports. If no scenario exists for an object, no scenario is created using this
mode.
·
Creation:
Creates a new scenario for each object with the same name as the last scenario
version and with an automatically incremented version number. If no scenario
exists for an object, a scenario named after the object with version number 001
is created.
Scheduling:
In order to schedule any object first
we need to create a scenario for that and then schedule the object.
Scenarios are mainly used to schedule
the objects like interfaces, variables, procedures.
Expand the
scenario->scheduling->Right click on the scheduling->new scheduling

Scheduling window will open, where we
need to configure the scheduling. To schedule an object, agent is mandatory.
Definition:
Context: Context into which the
scenario or Load Plan is started.
Agent: Agent executing the
scenario or Load Plan.
Log Level: Level
of logging information to retain
Status:
Active: The scheduling will be
active when the agent is restarted or when the scheduling of the physical agent
is updated.
Inactive: The
schedule is not active and will not run.
Active for period:
Activity range of the schedule. A schedule active for a period of time will
only run within this given period.
Execution:
Frequency of execution option (annual,
monthly,... simple). This option is completed by a set of options that depend
on this main option.
Execution Cycle:
Properties |
Description |
None (Execute once) |
The scenario or Load Plan
is executed only one time. |
Many times |
The scenario or Load Plan
is repeated several times.
|
Constraints |
Allows limitations to be
placed on one cycle iteration, in the event of a problem during execution.
|
Variables: On the Variables tab,
unselect Latest Value for variables for which you want to provide a Value. Only
variables used in the scenario or Load Plan and flagged as parameters for this
scenario or Load Plan appear in this tab.
After defining the
schedule, we need to update the agent which is accomplished with the schedule.
So, go to topology->agents->double click the agent -> update the
schedule
If
we want to monitor the schedule, then we need to click view schedule
Then
below window will be displayed
We can even schedule the object from
console also,
In order to execute the scenarios for (
interfaces/packages ) from the web, we have an console named:
ODICONSOLE
url: 100.9.80.90:8001/odiconsole/
select the relevant repository and give
the credentials to login followed by execution of scenarios.
Setting up default agent:
No comments:
Post a Comment