Difference between revisions of "Reasoners"

From AMTech WikiDocs
Jump to: navigation, search
(Reasoner For Each Send Observations)
(Reasoner For Each Send Observations)
Line 164: Line 164:
 
===Reasoner For Each Send Observations===
 
===Reasoner For Each Send Observations===
 
1-MainMenu/Activities/Reasoner
 
1-MainMenu/Activities/Reasoner
 +
 
2-Click create
 
2-Click create
 +
 
3-Select For each
 
3-Select For each
 +
 
3-Enter a Name
 
3-Enter a Name
 +
 
4-Once The Reasoner editor is open
 
4-Once The Reasoner editor is open
 +
 
5-Enter Description
 
5-Enter Description
 +
 
6-Select the observer
 
6-Select the observer
 +
 
7-Select Topic from where you are getting the observation
 
7-Select Topic from where you are getting the observation
8-Select Action Send Observation
 
9-Enter a name for the Observation
 
10 -Select the type of Observation to be send
 
11-On action on the right side select the Send Observation  inside will be a list of fields :
 
  
  ====Tenant Binding==== where user will specify in which Tenant he wants to send the Observation
+
8-Click on Action and Select Send Observation action
Continue on failure is a boolean true or false. User can said if he wants to continue even  
+
 
if there is failure
+
9-Dialog box for the settings for the action will be open, select the type of observation, select by property and Enter a name for the Observation to be send
New Observation fields User will fill all the required fields to send that observation
+
 
12-Run the reasoner
+
10-On action on the right side select the Send Observation inside will be a list of fields :
 +
 
 +
 
 +
== Action Send Observation Fields ==
 +
 
 +
  '''Tenant Binding''' where user will specify in which Tenant he wants to send the Observation
 +
 
 +
  '''Continue on failure''' is a boolean true or false. User can said if he wants to continue even if there is failure
 +
 
 +
    '''New Observation fields''' User will fill all the required fields to send that observation
 +
 
 +
11-Run the reasoner
 +
 
 
13-Select observation from where user wants to get the info
 
13-Select observation from where user wants to get the info
expected results
+
 
 +
Expected Results
 
For each entity that was returned the system will send a new observation with the information entered on new observation fields
 
For each entity that was returned the system will send a new observation with the information entered on new observation fields
  

Revision as of 11:22, 4 March 2016

Reasoner For Each by Properties

Reasoner For Each Create

1-MainMenu/Activities/Reasoner

2-Click create

3-Select For each

3-Enter a Name

4-Once The Reasoner editor is open

5-Enter Description

6-Select the observer

7-Select Topics from where you are getting the observation

8-Select Action Create

9-Dialog Box for create will be open

10-Select type of entity you want to create

11-Enter a label to identify the action

12-On action on the right side select The Action label for Create inside will be a list of fields :


Continue on failure   is a boolean true or false. User can said if he wants to continue even if there is failure.

Update if exist is a boolean or or false. If true user can update any fields

New Entity   fieldsUser will fill all the required fields to Create the new Entity

12-Run the reasoner

13-Select observation from where user wants to get the info for the binding etc


Expected Results

For each entity that was returned by observer the system will create a new entity with the settings assigned

Reasoner For Each Update

1-MainMenu/Activities/Reasoner

2-Click create

3-Select For each

3-Enter a Name

4-Once The Reasoner editor is open

5-Enter Description

6-Select the observer

7-Select Topic from where you are getting the observation

8-Select Action Update

9-Enter a name for the update

10-On action on the right side select the update inside will see a list of fields


Continue on failure is a boolean true or false. User can said if he wants to continue even if there is failure
Entity fields User will fill all the required fields to Update the Entity

11-Run the reasoner

12-Select observation from where user wants to get the info

Expected results

For each entity that was returned by observer the system will update the entities with the new values

Reasoner For Each Delete

1-MainMenu/Activities/Reasoner

2-Click create

3-Select For each

3-Enter a Name

4-Once The Reasoner editor is open

5-Enter Description

6-Select the observer

7-Select Topic from where you are getting the observation

8-Select Action Delete

9-Enter a name for the action Delete

10-Click Run to run reasoner

11- Select observation

Expected results

The system will delete all the entities returned by observer on the specified Tenant

Reasoner For Each Send Notifications

1-MainMenu/Activities/Reasoner

2-Click create

3-Select For each

3-Enter a Name

4-Once The Reasoner editor is open

5-Enter Description

6-Select the observer

7-Select Topic from where you are getting the observation

8-Select Action Send Notification

9-Enter a name for the action Send Notification

10- Select the notification template

11-On action on the right side select the Send Notification action inside user will see

==Destinatario== where user can specify the email address of the person to receive the notification
====Media==== has three options
     =====-”dap”===== to display the notification on the screen of tenant only
     ===== -”mail”===== notification by mail only
     =====-”dap,mail”===== by mail and screen both
  Continue on failure is a boolean true or false. User can said if he wants to continue even 

if there is failure

 Notification Fields User will assign values to the place holders of the notification templates

note: If the notification template does not have placeholder there will not be notification fields


12-Click Run to run reasoner

13- Select observation

Expected results

The system will send the notification to the specified tenant according to the setting on media

Reasoner For Each Send Observations

1-MainMenu/Activities/Reasoner

2-Click create

3-Select For each

3-Enter a Name

4-Once The Reasoner editor is open

5-Enter Description

6-Select the observer

7-Select Topic from where you are getting the observation

8-Click on Action and Select Send Observation action

9-Dialog box for the settings for the action will be open, select the type of observation, select by property and Enter a name for the Observation to be send

10-On action on the right side select the Send Observation inside will be a list of fields :


Action Send Observation Fields

  Tenant Binding where user will specify in which Tenant he wants to send the Observation
  Continue on failure is a boolean true or false. User can said if he wants to continue even if there is failure
   New Observation fields User will fill all the required fields to send that observation

11-Run the reasoner

13-Select observation from where user wants to get the info

Expected Results For each entity that was returned the system will send a new observation with the information entered on new observation fields

Reasoner For Each Schedule Observations

Reasoner At Least One by Properties

Reasoner At least One Create

Reasoner At least One Send Notifications

Reasoner At least One Send Observations

Reasoner At least One Schedule Observations

Reasoner Observation Only by Properties

Reasoner Observation Only Create

Reasoner Observation Only Send Notifications

Reasoner Observation Only Send Observations

Reasoner Observation Only Schedule Observations

Reasoner Do not Return Entity by Property

Reasoner Do not Return Entity Create

Reasoner Do not Return Entity Send Notifications

Reasoner Do not Return Entity Send Observations

Reasoner Do not Return Entity Schedule Observations