Hi All,Thanks for the support. I am trying to get a value and also set a value of a field in the DCR ( which is attached to the WF). Can any one tell me how to achieve this? Any help would be appreciated.Thanks!Jenni
use strict;use TeamSite:CRparser;use TeamSite:CRnode;...my $dcr_path = 'Your DCR Path';if (open(HDCR, '<:utf8', $dcr_path)) { # Note utf8 Mode! Some TS and DevNet samples miss it, it's common mistake my $dcr_string = do{local $/; }; close HDCR; my $parser = TeamSite:CRparser->new(); my $rootnode = $parser->parse($dcr_string, 'dcr'); # Alternatively, my $rootnode = TeamSite:CRnode->new($dcr_string); # I prefer TeamSite:CRparser:**** because of easier Error handling if ($rootnode) { # Run perldoc on TeamSite:CRnode to see access details # In general # TeamSite:CRnode::value('access string') to get Node Value and # TeamSite:CRnode::get_node_list('access string') to get *deeper* Nodes and Node Lists } else { # $yourLogger->log( qq(ERROR parsing "$dcr" - ) . $parser->get_error()); }}else { # $yourLogger->log( qq(ERROR Opening "$dcr" - $!));}