RE: Plugin error System.TimeoutException: Couldn’t complete execution of the plug-in within the 2-minute limit
Hey JZ,
Not sure i'm following - wouldnt you want all of the accounts and child accounts to be updated?
E.g.:
Account A is Parent of Account B and of Account C
Account B is parent of Account D and Account E
Basedon my understanding of what you want, updating Account A Category to Logistics should flow down to all accounts - Accounts B and C because they are the direct child, and Acccounts D and E because there was an update on Account B - right?
If you're happy for it to end with Accounts B and C (i.e. not go down to the next level) ensure that you are checking the context.Depth within the plugin.
Also - seems a bit odd you're worried about this massive job running in the background, but running it in the foreground while the user actually has to wait is fine?
Cheers,
E