Have a problem with FileTransfer event. I wrote a subscription with code like this:
if(eventData.isComplete === true){ me.IsComplete = "true"; }
And after I execute some of services, but don't have any result.
I'm confused about that, because i have no idea in which cases event has triggered.
Solved! Go to Solution.
You are subscribed to the FileTransfer event right?
You aren't even getting a FileTransfer start?
I would add some script log logger statements to see what is happening. especially I believe there is a status field you can log out?
Are you mean a thing property?
Status should be in the event data or else associated with the transfer job.
Oh, so just try to log result of status field for see what actually happened?
Right.
actually nothing happened in script logs after adding logger.warn to my subscription
You are subscribed to the FileTransfer event right?
You aren't even getting a FileTransfer start?
Oh, I didn't understand right when the event is triggered
Thank you!
So, this event triggered when we transfer our file from device(remote thing) to repository?
Correct, any copy event should trigger that event, Start, Fail, Finish
Oh, okay, thank you.