Skip to main content

Creating generic workflows / forms

Comments

7 comments

  • Permanently deleted user

    Hi Neil

    Short answer.... Yes  ;-)

    Regards

    Ralph

    PS would you like a long answer?

    0
  • Permanently deleted user

    Hi Ralph, thanks for reply. Was that yes to suggestions or yes to run-time modification?

    Perhaps a slightly longer answer would be good!

    Thanks.

    0
  • Permanently deleted user

    Hi Neil

    that was yes to Runtime Modifications. Check out the help for the Display Form activity in the Workflow Designer. (Right click on the Activity in the Toolbox in the left panel to get help on an Activity)

    The Runtime Modification is quite clearly explained there apart from perhaps the section where the Assign of the new values is done that you must put in the Id of the form item that you are updating

    form.Find(Of AutoCompleteBoxFormItem)("<FormItemID>").QueryWhereClause   =   "SUE in (1,2,3)"

    needs to be:

    form.Find(Of AutoCompleteBoxFormItem)("AutoComplete1").QueryWhereClause   =   "SUE in (1,2,3)"

    so you need to pay attention as you design your form what your form items are called.

    You can 'hand edit' the xaml for the workflow after the initial design process to change the Id's of the Form items but it is not something to rush into.

    Hope that helps.

    Let me know if you want more direction.

    Thanks

    Ralph

     

    0
  • Permanently deleted user

    Thanks Ralph. Great info there. Unfortunately it's likely we won't be upgrading our installation for another couple of months so I wont' have access to the run-time modification until then.

    I think I'll go down the path of just duplicating the form within the workflow until then. At least it will allow me to just use the one workflow across all sites and then I'll just modify it once we upgrade.

     

    Thanks again for your help.

    Regards

    Neil.

    0
  • Permanently deleted user

    Hi Neil

    no problem. Just out of curiosity what do you see as your barriers to upgrading?

    Regards

    Ralph

    0
  • Permanently deleted user

    At the moment it's mostly a time issue with lots of projects on. Because of our IT environment we need to raise a change request to get our IT department to come back with a scope of work which we then approve and then they can schedule the upgrade.

    Unfortunately we can't just do the upgrade ourselves so what is in reality a few hours work to upgrade followed by a bit of testing ends up having a 3-4 week turn around.

     

    regards

    Neil.

    0
  • Permanently deleted user

    Hi Neil

    potentially a very frustrating situation that causes extra work in the short and medium term.

    Regards

    Ralph.

    0

Please sign in to leave a comment.