<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SAS Management Console- SMC - can the flow Properties defaults be changed? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-SMC-can-the-flow-Properties-defaults-be/m-p/808327#M24199</link>
    <description>&lt;P&gt;Is it possible to change the default flow properties in SMC&amp;nbsp;so we don't have to remember to right click on the flow and choose "Properties" with every flow we set up?&amp;nbsp; I would like 3 settings in particular to be defaulted:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Attributes" tab:&amp;nbsp; radio button "Continue running the flow and change the flow state after the flow is complete.", and "Allow only one instance of the flow to run at a time."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Job Properties" tab:&amp;nbsp; "Default queue:" - would like to default to dev queue when the flow is in dev, and prod queue when the flow is in prod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to default all flows to have these 3 settings?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2022 15:13:45 GMT</pubDate>
    <dc:creator>Bruno7</dc:creator>
    <dc:date>2022-04-18T15:13:45Z</dc:date>
    <item>
      <title>SAS Management Console- SMC - can the flow Properties defaults be changed?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-SMC-can-the-flow-Properties-defaults-be/m-p/808327#M24199</link>
      <description>&lt;P&gt;Is it possible to change the default flow properties in SMC&amp;nbsp;so we don't have to remember to right click on the flow and choose "Properties" with every flow we set up?&amp;nbsp; I would like 3 settings in particular to be defaulted:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Attributes" tab:&amp;nbsp; radio button "Continue running the flow and change the flow state after the flow is complete.", and "Allow only one instance of the flow to run at a time."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Job Properties" tab:&amp;nbsp; "Default queue:" - would like to default to dev queue when the flow is in dev, and prod queue when the flow is in prod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to default all flows to have these 3 settings?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 15:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-SMC-can-the-flow-Properties-defaults-be/m-p/808327#M24199</guid>
      <dc:creator>Bruno7</dc:creator>
      <dc:date>2022-04-18T15:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Management Console- SMC - can the flow Properties defaults be changed?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-SMC-can-the-flow-Properties-defaults-be/m-p/808333#M24200</link>
      <description>&lt;P&gt;I don't know of any way to change the default options, but you could probably write some code to find any that don't have those options set. Something like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  length type id uri $ 50 flow_name $ 255;
  call missing (of _character_);
  obj="omsobj:JFJob?JFJob[Properties/Property[@Name='QUEUE' and @DefaultValue ne 'Dev']][Properties/Property[@Name='FlowExclusiveCriteria' and @DefaultValue ne 'Yes']][Properties/Property[@Name='FlowEndBehavior' and @DefaultValue ne '3']]";
  flow_rc=metadata_resolve(obj,type,id);
  put "NOTE: Found " flow_rc "flows that didn't have a the requisite properties set.";
  if flow_rc &amp;gt; 0 then do i=1 to flow_rc;
    rc=metadata_getnobj(obj,i,uri);
    rc=metadata_getattr(uri,"Name",flow_name);
    put uri= flow_name=;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Apr 2022 15:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Management-Console-SMC-can-the-flow-Properties-defaults-be/m-p/808333#M24200</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-04-18T15:35:30Z</dc:date>
    </item>
  </channel>
</rss>

