jython code to cerate business application

 

Please provide example jython code to creaate a busienss aplication?

 

I woudl assume it is in modeling.

 

can you provide an example?

 

e.g.,

 

newbizapp = modeling.createxxxOSH

 

Parents
  • Verified Answer

     Hi,              

     

    A very simple example:

     

                   OSHVResult = ObjectStateHolderVector()
                   CI = ObjectStateHolder("business_application")   
                   CI.setStringAttribute("name","ba1_test")
                   OSHVResult.add(CI)

     

    Regards,

     

    Diana

Reply
  • Verified Answer

     Hi,              

     

    A very simple example:

     

                   OSHVResult = ObjectStateHolderVector()
                   CI = ObjectStateHolder("business_application")   
                   CI.setStringAttribute("name","ba1_test")
                   OSHVResult.add(CI)

     

    Regards,

     

    Diana

Children
No Data