- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Creating Objects from Taskflow
Fri 24 Jan 2020 - 8:51
I am coding up a Milestone Taskflow / Filemanagement, and I want to create some objects when the taskflow is opened. The documentation does not seem to have a lot about file management that I could see, however there is an initialise event (but not Render or Rendering like other forms). if I include an initialise method and debug it in Visual Studio it doesn't fire, yet I can get it to trigger in the script page if I add a message box to the method and do save and compile.
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Creating Objects from Taskflow
Fri 24 Jan 2020 - 8:51
Try using the OnMilestoneEvent application event like this:public override void OnMilestoneEvent(FWBS.OMS.Extensibility.ObjectEventArgs e, ref bool Handled) {if(e.Event.Name.ToString().ToUpper() == “LOADED”){//code here}}It also loads on matter creation (perhaps even multiple times) so you will need to deal with this.
Permissions in this forum:
You cannot reply to topics in this forum
|
|