Setting Activity Start Rule Programatically not working

  • 4 September 2014
  • 1 reply
  • 0 views

Badge +1

Can someone help me please.

 

I have an Activity. I set the start rule to get a date from a smart object. The parameter for the smartobject is a DataField on the activity.

When the code runs i get "ActivityInstanaceDestination property not available.

I.e. SmartObject Method = GetStartDateForActivity(string ActivityIdentifierCode)

*the ActivityIdentifierCode is a datafield on the activity. (and no i dont want to create a process data field for each activity)

 

Any ideas?

 


1 reply

Badge +10

As far as I can tell by looking at the error it seems that the activity doesnt have a destination user or there are multiple users but it is not set to plan all at once.

 

If it doesnt have a destination user then try adding one or if it has multiple users then set the destination to plan all at once.

 

Is it not possible to chagne the activity level datafield to a process level data field.

Reply