af server
af-server-checkIn
Inputs
PISystem string Name of the PISystem Database string Name of the Database Action string CheckIn (default) UndoCheckOut Refresh Query ClearCache
Force bool for UndoCheckOut will force, for refresh will ignore changes etc.
CheckInMode string AFCheckedOutMode: can be verbatim or shortened with 'ObjectsCheckedOut' removed eg : AllObjects, ThisSession, ThisThread, ToMe etc. default ThisThread
WaitUntilComplete bool Will wait until 'timeout'(ms) or until no items are check out. Use for CheckIn or UndoCheckOut otherwise it will introduce a delay
Timeout integer Max number of milliseconds to wait when 'WaitUntilComplete' set
Inputs (Payload Example)
msg.payload = {;
"PISystem" = "TestSystem",
"Database" = "TestDatabase",
"CheckInMode" = "ToMe",
"Timeout" = 5000
}
return msg;
Example Flow
[
{
"id": "4a1c52e9357913df",
"type": "AF-Server-CheckIn",
"z": "c4fc53dc96751169",
"name": "",
"x": 250,
"y": 100,
"wires": [
[
"921afb2f9bf23f2d"
]
]
},
{
"id": "96241fef1a79adc5",
"type": "inject",
"z": "c4fc53dc96751169",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"PISystem\":\"DEV-AF1\",\"Database\":\"NodeTestCaseSource\",\"CheckInMode\":\"ToMe\",\"Timeout\":30}",
"payloadType": "json",
"x": 70,
"y": 100,
"wires": [
[
"4a1c52e9357913df"
]
]
},
{
"id": "921afb2f9bf23f2d",
"type": "debug",
"z": "c4fc53dc96751169",
"name": "debug 2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 400,
"y": 100,
"wires": []
}
]