where I am wrong?

0
it seems the comment from mendix is wrong.   
asked
3 answers
2

You don’t need the last ‘$Camera_setting/log =’ just, ‘else empty’ because you want to set the return string value to empty, not the value of $Camera_setting/log to = empty.

answered
0

  i just want to pass the value of camera ip to camera log 

answered
0

If your goal is to return the value of $Camera_setting/Camera_IP from a sub microflow or a datasource microflow. Then just set the endpoint return value to $Camera_setting/Camera_IP. If the value is empty it will return empty, otherwise it will return the value. 

If you want to set the value $Camera_setting/log to the value of $Camera_setting/Camera_IP. Then use a change object to change the object $Camera_setting, select member and set it to value $Camera_setting/Camera_IP. Again if the value is empty, then log will be set empty, otherwise the value of $Camera_setting/Camera_IP will be set. No need for an if, the else statement in both cases

answered