Home > Community > Forums > Custom IC SKILL > How to revert to default value using skill?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to revert to default value using skill? 

Last post Wed, Aug 29 2012 12:21 AM by Reinice. 2 replies.
Started by Reinice 27 Aug 2012 10:34 PM. Topic has 2 replies and 695 views
Page 1 of 1 (3 items)
Sort Posts:
  • Mon, Aug 27 2012 10:34 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    How to revert to default value using skill? Reply
    Hi Andrew,
    I have an old process instance which has a property
    | model | nch_33 |
    Then I changed its master to new process instance (“nch_hvt”). But the Model name of the new process instance is still “nch_33”  
    | Model name | nch_33 |
    I want to revert “Model name” to default (nch_hvt) using skill and not GUI. How can I do this?
    Thanks and Regards,
    Reiniel
    • Post Points: 20
  • Tue, Aug 28 2012 12:45 AM

    • marcelpreda
    • Top 200 Contributor
    • Joined on Tue, Jan 19 2010
    • Bucharest, Romania
    • Posts 44
    • Points 715
    Re: How to revert to default value using skill? Reply

    Hi Reiniel,

     Most likelly your cell has a CDF param named "model",  just try to output inst->model in your script.

    If it is so, the you can do inst->model = "nchhvt", after you have changed the cell name (master).

     

    If inst->model is nil, then you have to look in your CDF paras tabel to find the real name of the property.

     

    Best Regards,

    Marcel

    • Post Points: 20
  • Wed, Aug 29 2012 12:21 AM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How to revert to default value using skill? Reply

    Hi Marcel,

    Your suggestion works fine. I think my question is resolved. = )

    Thanks and Regards,

    Reiniel

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Reinice at 27 Aug 2012 10:34 PM. Topic has 2 replies.