Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Reference


4.2.5 User-response wait plug-in

Function

This plug-in enables the operator to select the processing of the succeeding step during the execution of the service. To select the processing, the operator uses the Respond dialog box. You can also set up email notification to notify the operator that a task is waiting for a response.

The methods of accessing the Respond dialog box are as follows:

Prerequisites for execution

Cautionary notes

Version

01.00.00

Category

Hitachi/Basic

Return codes

Return code

Description

-1

The task was forcibly terminated while the plug-in was executing. -1 appears as the return code of the step in the Task Details dialog box.

0 to 9

Returns the return code corresponding to the labelButton1 to labelButton9 properties. If a timeout occurs while waiting for a response, the value specified in the timeOutDefault property is returned as the return code. Therefore, the meaning of the return code depends on the service template that is using the plug-in.

10 to 63

If a timeout occurs while waiting for a response, the value specified in the timeOutDefault property is returned as the return code.

65

The connection with the JP1/AO server failed. For example, the JP1/AO server might have stopped while the plug-in was executing.

66

The following user is mapped to the JP1 user:

  • A user who does not belong to the Administrators group.

  • A user other than the built-in Administrator who belongs to the Administrators group, in an environment with UAC enabled.

68

There is no information about the target job execution ID.

69

An environment variable of the task-processing engine could not be acquired.

80

Task execution has stopped.

81

The plug-in was called in an invalid status.

82

The request message from the task-processing engine could not be correctly parsed.

83

The environment of the JP1/AO server is corrupted.

84

Information about the specified plug-in could not be obtained.

127

Another error has occurred.

Property list

The following table describes the properties.

Property key

Property name

Description

Default value

I/O type

Required

toAddress

To Addresses

Specify the email addresses of recipients to enter in the TO attribute, using no more than 1,024 characters. When specifying multiple addresses, separate them with commas.

--

Input

O

ccAddress

Cc Addresses

Specify the email addresses of recipients to enter in the CC attribute, using no more than 1,024 characters. When specifying multiple addresses, separate them with commas.

--

Input

O

bccAddress

Bcc Addresses

Specify the email addresses of recipients to enter in the BCC attribute, using no more than 1,024 characters. When specifying multiple addresses, separate them with commas.

--

Input

O

mailSubject

Subject

Specify the subject line of the email using no more than 256 characters.

--

Input

O

mailBody

Body

Specify the body text of the email using no more than 1,024 characters.

--

Input

O

encodeType

Encoding

Specify the encoding of the email as one of the following: If you do not specify a value for this property, utf-8 is assumed.

  • us-ascii

  • iso-2022-jp

  • shift_jis

  • euc-jp

  • utf-8

utf-8

Input

O

dialogText

Response Input Dialog Box

Specify the information to display in the Respond dialog box using 1,024 characters or less. You can specify the information in text or HTML format.

--

Input

O

responseTimeOut

Response Timeout

Specify the time period, between 1 and 9,999 (in minutes), before timeout occurs while waiting for a response.

1440

Input

R

timeOutDefault

Default Return Value

Specify the return code to return when a timeout occurs while waiting for a response. When the timeout period has passed, this value is returned as the return code. For example, when 0 is specified and the timeout period elapses, the processing corresponding to the button associated with the labelButton0 property will be executed.

Specify a return code in the range from 0 to 63.

0

Input

R

labelButton0

Label Button 0

Specify the button label for the response that generates return code 0, using a maximum of 256 characters. You can display buttons that meets the user's operational needs in the Respond dialog box.

OK

Input

R

labelButton1

Label Button 1

Specify the button label for the response that generates return code 1, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton2

Label Button 2

Specify the button label for the response that generates return code 2, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton3

Label Button 3

Specify the button label for the response that generates return code 3, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton4

Label Button 4

Specify the button label for the response that generates return code 4, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton5

Label Button 5

Specify the button label for the response that generates return code 5, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton6

Label Button 6

Specify the button label for the response that generates return code 6, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton7

Label Button 7

Specify the button label for the response that generates return code 7, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton8

Label Button 8

Specify the button label for the response that generates return code 8, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

labelButton9

Label Button 9

Specify the button label for the response that generates return code 9, using a maximum of 256 characters. You can display a button that meets the user's operational needs in the Respond dialog box.

If you omit this property, the corresponding button is not displayed.

--

Input

O

HTML tags and attributes that can be specified in the dialogText property

When specifying the display contents in the dialogText property in HTML format, use the tags listed in the following table.

Table 4‒6: List of HTML tags and attributes available in the dialogText property

Specifiable tag

Specifiable attributes

Anchor tag (<a>)#1

  • href#2

  • target

Bold tag (<b>)

--

Break tag (<br>)

--

Font tag (<font>)

  • color#3

  • face

  • size

Italic tag (<i>)

--

Underline tag (<u>)

--

Legend:

--: Not applicable.

#1

Link text is not displayed in blue. Specify _blank for the target attribute.

#2

You can access the JP1/IM - NP interface from the Respond dialog box by using a single sign-on. To allow single sign-ons, you must specify the link to the JP1/IM - NP interface in the href attribute, and include in the link the placeholder for the JP1 token.

The placeholder for the JP1 token is [JP1TOKEN] (not case sensitive). [JP1TOKEN] is replaced by the JP1 token in the Respond dialog box.

However, both of the following conditions must be met for this to take place:

  • The href attribute is enclosed by double quotation marks (").

  • The external authentication linkage function (linkage with the authentication features of JP1/Base) is enabled.

The character string [JP1TOKEN] can be replaced only once within a given anchor tag. Do not specify [JP1TOKEN] more than once.

An example of specifying the dialogText plug-in property is shown below.

Apply the security patch manually by referring to the link below. After applying the security patch, click OK.<br><a href="http://localhost:9999/ucnpBase/portal/screen/Home/action/PLoginUser?jp1token=[JP1TOKEN]" target="_blank">Manual security patch application procedure</a>
#3

Specify the color value in hexadecimal (#000000 to #FFFFFF).

Related topics