How to Associate a Client IP Address to a Workflow Binding
The use case is straight forward, I want to apply an Approval Workflow to an action when a user accesses XTAM from within or outside a specific IP address. When the user is at their work computer, they do not require approval however when they go home or work remotely, do require approval. Using an IP Filter in your workflow binding you can accomplish this quite easily.
Login to XTAM as a System Administrator.
Navigate to Workflow Bindings at Administration > Workflows > Bindings
Select your existing Binding and click the Edit button in the Actions menu or click Add to create a new Binding.
Enter an IP Address or IP Range into the IP Filter field. Configuration examples are shown at the bottom of this page.
Example: An IP value of 192.168.0.5 would indicate that any user from this specific IP address would require approval.
Example: An IP value of -192.168.0.5 would indicate that any user not from this specific IP address would require approval.
Optionally, you may also select a Principal(s) for the Users to work in combination with the IP Filter. If the Users parameter is left empty, it will apply to all XTAM users satisfying the IP Filter requirement.
Click the Save button to complete the configuration.
IP Filter Configuration Example Scenarios
- If you want to apply this workflow when a user accesses XTAM:
- from a specific IP address then enter this: 192.168.0.5
- from anywhere but a specific IP address then enter this: -192.168.0.5
- from an IP address using CIDR notation then enter this: 192.168.0.0/24
- from any of these IP addresses then enter this: 192.168.0.5,192.168.0.6,10.0.0.88,18.104.22.1686
- from any of these IP addresses except one then enter this: 192.168.0.0/24,-192.168.0.6