Using example coding from this documentation

Please note that the code examples in this documentation are there to provide a better understanding of the available functions but needs to be adapted to fit your specific requirements.

Therefore, every coding example should be checked against the business case and technical requirements and adjusted accordingly. Do not just copy a code example 1:1 from this documentation without checking what it does in particular and if it really fits your requirements.