Posts: 3,563
Threads: 36
Joined: Apr 2014
Reputation:
49
Sorry: the changeset works inside coreBOS updater. The updateContactAssignedTo.php is executed by the workflow system which loads all the necessary stuff itself.
In general you can count on having all these functions. If you load vtlib/Module.php it will load (almost) everything you need.
Joe
TSolucio
Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
Ah that was my understanding, yes. It's just that I didn't see any includes in the file. But I can assume that when inside workflow tasks, the workflow system has already included many functions. Come to think of it, I was looking at this as if the function were the starting point. I should look at it more as if the function file is the inclusion (before which many other inclusions may have been made).
Posts: 3,563
Threads: 36
Joined: Apr 2014
Reputation:
49
yes, that is more or less the things: both corebos updater and workflow try to make it as easy as possible for you to just do what you need to do and count on having the basics in place
Joe
TSolucio