Soracom · Arazzo Workflow
Soracom Deactivate IoT SIM with Guard
Version 1.0.0
Read a SIM, deactivate it only when it is currently active, then confirm the inactive status.
Provider
Workflows
deactivate-sim-with-guard
Deactivate a SIM only when it is currently active, then confirm.
Reads the SIM, branches on its status, deactivates it when it is active, and reads it back to confirm the inactive status.
1
getSim
getSim
Read the SIM to determine whether it is currently active and therefore eligible for deactivation.
2
deactivateSim
deactivateSim
Change the SIM status to inactive.
3
confirmSim
getSim
Read the SIM back to confirm it now reports the inactive status.