B4A.WEB.JOBP.SEND-REMOTE-SERVICE-MESSAGE

Graphical Representation

@B4A.SEND-SERVICE-MESSAGE 2 Send rest calls to b4A RESTful API Object B4A.WEB.JOBP@IF.SEND-SERVICE-REQUEST JOBP @B4A.ADD-COMMENT 3 Starts a b4A module Object B4A.BASE.JOBP@IF.RUN JOBP START START END END

Summary

Description

This action sends a message to the RESTful API. By the parameters this message is set in relation to a running task in the Automation Engine (a service workflow). This action can be used to send messages that will be shown in the b4A Service Portal in the report of a running service. Additionally the messages will be saved in the comments of the top workflow of the service. This specific variant can be used by other workflows (not the service workflow), that have been started in other clients. Therefore the workflow needs to have a promtpset with two parameters:

&SERVICE_RUNID#
the runId of the service workflow
&SERVICE_NAME#
the object name of the service workflow

Parameter

  • RunId - runId of the service workflow
  • Name - name of the service workflow
  • Text - the message to send
  • Status - type of the message can be one of INFO, WARNING or ERROR

Output

Details

Object type
JOBP
Object Subtype
-
Object Folder
PACKAGES/BEST4AUTOMIC/B4A.WEB/ACTIONS
Active
true
Title
Send service messages from another client to b4A RESTful API
Archive Key 1
-
Archive Key 2
-
Created
WRITER/B4A am: 2024-01-09 10:19:02
Last Modified
WRITER/B4A am: 2024-04-10 11:16:58 2 x
Last Used
-

Custom Attributes

Name Value
BBC_SEMANTIC_TYPE# ACTION

Tasks

START (1)

Alias
Breakpoint
false
Position (x, y)
1, 1
Predecessors
Successors
B4A.BASE.JOBP@IF.RUN (3, ), B4A.WEB.JOBP@IF.SEND-SERVICE-REQUEST (2, )

B4A.WEB.JOBP@IF.SEND-SERVICE-REQUEST (2)

Alias
@B4A.SEND-SERVICE-MESSAGE
Breakpoint
false
Position (x, y)
2, 1
Predecessors
START
Successors
END
Usaged By
Parent Type Package
B4A.WEB.JOBP.SEND-REMOTE-SERVICE-MESSAGE JOBP B4A.WEB
B4A.WEB.JOBP.SEND-SERVICE-CACHE-RESET JOBP B4A.WEB
B4A.WEB.JOBP.SEND-SERVICE-CONFIG-RELOAD JOBP B4A.WEB
B4A.WEB.JOBP.SEND-SERVICE-MESSAGE JOBP B4A.WEB

B4A.BASE.JOBP@IF.RUN (3)

Alias
@B4A.ADD-COMMENT
Breakpoint
false
Position (x, y)
2, 2
Predecessors
START
Successors
END
Usaged By
Parent Type Package
B4A.BASE.JOBP.SMOKE-TEST JOBP B4A.BASE
B4A.PM.JOBP.BUILD-RELEASE JOBP B4A.PM
B4A.PM.JOBP.COMPLIANCE-CHECK JOBP B4A.PM
B4A.PM.JOBP.CREATE-INDEX JOBP B4A.PM
B4A.PM.JOBP.DEPENDENCY-CHECK JOBP B4A.PM
B4A.PM.JOBP.DEPENDENCY-VERIFICATION JOBP B4A.PM
B4A.PM.JOBP.INIT-PACKAGE JOBP B4A.PM
B4A.PM.JOBP.INIT-PACKAGE JOBP B4A.PM
B4A.PM.JOBP.INSTALL-RELEASE JOBP B4A.PM
B4A.WEB.JOBP.SEND-REMOTE-SERVICE-MESSAGE JOBP B4A.WEB

END (4)

Alias
Breakpoint
false
Position (x, y)
3, 1
Predecessors
B4A.WEB.JOBP@IF.SEND-SERVICE-REQUEST (2, ), B4A.BASE.JOBP@IF.RUN (3, )
Successors

Runtime

ERT Method
DYNAMIC_AVERAGE
Current ERT
00 : 02 : 02 No. of past runs
0 +ERT Correction %
0

Sync

No sync definitions.

Variables

Name Value Usage
&B4AW_TOP_RUNID# NONE

Prompt Sets

B4A.WEB.PRPT.SEND-REMOTE-SERVICE-MESSAGE

(LABEL1#)
Tooltip:
Type:
Default Value:
(B4AW_SERVICE_RUNID_I#)
Tooltip:
Type:
Default Value: 1
(B4AW_SERVICE_NAME_I#)
Tooltip:
Type:
Default Value:
(LABEL2#)
Tooltip:
Type:
Default Value:
(B4AW_SERVICE_MESSAGE_I#)
Tooltip:
Type:
Default Value:
(B4AW_MESSAGE_TYPE_I#)
Tooltip:
Type:
Default Value: info

Automatic Deactivation

Deactivate on Finish
AFTER_ERROR_FREE_RESTART
Error-free status
-
Deactivate After
0

Runtime Parameters

AE Priority
0
Timezone
-
Generate at runtime
true
Max. Parallel Tasks
0