Workflow Soluiton

 View Only
  • 1.  Text to variable

    Posted Mar 17, 2009 09:43 AM

    Hi,

    I'm trying to create user accounts in AD and in the same time create users in CMDB. This will be done from a form that the users manager fills out the infromation (see New employee in Sams). 

    However,

    To use IncendioTechnologys AD-user creator component i need to convert the output the form to a "ADUser" class. This is no problem, it works very good. 

    But how can i also use the output to crate a user in CMDB, which need the variables in text? 

    Is there a way to create vairables from text without using a form or similar?

     

    //Micael Åman 



  • 2.  RE: Text to variable

    Posted Mar 17, 2009 10:31 AM

    Which component exactly are you trying to use to create the user? I'm thinking "Create Resource..."

    Anyway, one way to workaround this is to use a combination of Add New Data Element of type "user", followed by a Single Value Mapping where you can use process (form) variables to set the various values for the user.

    Afterwards, you should be able to use the "Create Resource..." component and map the user you just introdiced onto the stream into the user to save in CMDB.



  • 3.  RE: Text to variable

    Posted Mar 18, 2009 05:19 AM

    I found that i could use the "ConvertToText" component to convert from text to Incendios AD-user data type. This way i can create both an ad-user and a user in CMDB (with create resource)

    This is not a pretty solution, but it works :)

     

    //Micael Åman