|  Developer
Updated on December 2, 2022

isUserLockOperation

  • Triggering when the particular user locks door lock by entering a pin code.
Edit
Field Type Required Description
blockOptions.method.args.item string + Argument declaration of Item ID of item. The name is . The type is .
blockOptions.method.args.state string + Argument declaration of State. The name is . The type is . The is always set to .
blockOptions.method.args.user string + Argument declaration of User ID. This User ID is one of keys are contained in item. The type is . The corresponding field contains what contains item Id.
Edit
				
					{
    "blockType":"when",
    "blockOptions":{
        "method":{
            "name":"isUserLockOperation",
            "args":{
                "item":"item",
                "state":"state",
                "user":"user"
            }
        }
    },
    "fields":[
        {
            "name":"item",
            "type":"item",
            "value":"5e4a5fef7f0000707ff6e9b2"
        },
        {
            "name":"state",
            "type":"token",
            "value":"lock"
        },
        {
            "name":"user",
            "type":"dictionaryId",
            "optionItemValue": {
                "itemId": "5e4a5fef7f0000707ff6e9bd"
            },
            "value":"3"
        }
    ]
}