locked
Validate a property of an object passed as InArgument RRS feed

  • Question

  • Hi There,

     

    I'm basically trying to write a workflow of type NativeActivity which accepts a custom object as an InArgument.

    public InArgument<DisplayEntityData> instanceClass { get; set; }

    Can somebody please help me achieve the following?

    a. I would like to throw a validation error in CacheMeta if instanceClass.Name is null. (Within the activity)

    b. I would also like to have something like, the user of this activity says what other properties of instanceClass he wants to validate.

             Can  I establish here some sort of constraints?

    Please help. I'm new to Workflow

    Kind regards,

    Kavya

     

     


    Peace out, Kav
    Tuesday, February 1, 2011 3:10 PM

Answers

All replies