Hello,
I’m doing a workflow with javascript that pulls all relevant fixlets and then creates xml to deploy all those fixlets to an endpoint. the action submits without issue, but the action is always not-relevant even though the action contains missing updates. here is the xml i am uploading to create the action:
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
<MultipleActionGroup>
<Title>Multiple Action Group</Title>
<Relevance>true</Relevance>
<MemberAction>
<Title>MS18-NOV: Servicing stack update for Windows Server 2016 - Windows Server 2016 - KB4465659 (x64)</Title>
<Relevance><![CDATA[((((((((if( name of operating system starts with "Win" ) then platform id of operating system != 3 else false) AND (if exists property "in proxy agent context" then ( not in proxy agent context ) else true )) AND (x64 of operating system)) AND (not ia64 of operating system)) AND (((it starts with "Win20") of name of it AND (exists value "CurrentMajorVersionNumber" of it AND value "CurrentMajorVersionNumber" of it as integer = 10) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) of operating system)) AND ((name of it = "Win2016" OR name of it starts with "Win20" AND (exists value "CurrentMajorVersionNumber" of it AND value "CurrentMajorVersionNumber" of it as integer = 10) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) of operating system)) AND (exists keys ("Package_for_KB4132216~31bf3856ad364e35~amd64~~10.0.1.0") whose ((it = 6 OR it = 7 OR it = 96 OR it = 112) of (value "CurrentState" of it as in teger)) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" of native registry AND not exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB4465659~31bf3856ad364e35~amd64~~10.0.1.2" whose (value "CurrentState" of it = 112 or value "CurrentState" of it = 80) of native registry)) AND (exists value "ReleaseID" whose (it as string = "1607") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry)) AND (not pending restart "af8e00c5ba5117880cbc346278c7742a6efa6db1")]]></Relevance>
<ActionScript MIMEType="application/x-Fixlet-Windows-Shell">prefetch windows10.0-kb4465659-x64_af8e00c5ba5117880cbc346278c7742a6efa6db1.msu sha1:af8e00c5ba5117880cbc346278c7742a6efa6db1 size:12141800 http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/11/windows10.0-kb4465659-x64_af8e00c5ba5117880cbc346278c7742a6efa6db1.msu sha256:9707da073612e9d169cf3d47cf26cbd083e63b909d86a5f2557424202188d6f3
// Is Windows Update service running?
continue if {exists running service "wuauserv" OR NOT exists service "wuauserv" whose (start type of it = "disabled")}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\windows10.0-kb4465659-x64_af8e00c5ba5117880cbc346278c7742a6efa6db1.msu"}" /quiet /norestart
action requires restart "af8e00c5ba5117880cbc346278c7742a6efa6db1"</ActionScript>
<SuccessCriteria Option="OriginalRelevance"></SuccessCriteria>
<IncludeInGroupRelevance>true</IncludeInGroupRelevance>
</MemberAction>
<MemberAction>
<Title>MS18-NOV: Cumulative Update for Windows Server 2016 - Windows Server 2016 - KB4467691 (x64)</Title>
<Relevance><![CDATA[(((((((((if( name of operating system starts with "Win" ) then platform id of operating system != 3 else false) AND (if exists property "in proxy agent context" then ( not in proxy agent context ) else true )) AND (x64 of operating system)) AND (not ia64 of operating system)) AND (((it starts with "Win20") of name of it AND (exists value "CurrentMajorVersionNumber" of it AND value "CurrentMajorVersionNumber" of it as integer = 10) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) of operating system)) AND ((name of it = "Win2016" OR name of it starts with "Win20" AND (exists value "CurrentMajorVersionNumber" of it AND value "CurrentMajorVersionNumber" of it as integer = 10) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry) of operating system)) AND (exists value "ReleaseID" whose (it as string = "1607") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry)) AND (( it as integer < 2608) of value "UBR" of key "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry)) AND ((it as integer != 2551) of value "UBR" of key "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" of native registry OR exists setting "_BESClient_WindowsOS_ApplyCumulativeUpdateOnly" whose (value of it as integer = 1) of client)) AND (not pending restart "c1884b8c61fd7837b4a59a3aa7b87707474a8c12")]]></Relevance>
<ActionScript MIMEType="application/x-Fixlet-Windows-Shell">prefetch windows10.0-kb4467691-x64_c1884b8c61fd7837b4a59a3aa7b87707474a8c12.msu sha1:c1884b8c61fd7837b4a59a3aa7b87707474a8c12 size:1445835954 http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/10/windows10.0-kb4467691-x64_c1884b8c61fd7837b4a59a3aa7b87707474a8c12.msu sha256:463fffc64f460146d9e6adf1a8b1e24214566b45d2646f8f47be7b063a6344e7
// Is Windows Update service running?
continue if {exists running service "wuauserv" OR NOT exists service "wuauserv" whose (start type of it = "disabled")}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\windows10.0-kb4467691-x64_c1884b8c61fd7837b4a59a3aa7b87707474a8c12.msu"}" /quiet /norestart
action requires restart "c1884b8c61fd7837b4a59a3aa7b87707474a8c12"
</ActionScript>
<SuccessCriteria Option="OriginalRelevance"></SuccessCriteria>
<IncludeInGroupRelevance>true</IncludeInGroupRelevance>
</MemberAction>
<Settings>
<PreActionShowUI>false</PreActionShowUI>
<HasRunningMessage>false</HasRunningMessage>
<HasTimeRange>false</HasTimeRange>
<HasStartTime>true</HasStartTime>
<StartDateTimeLocalOffset>P2DT5H38M5S</StartDateTimeLocalOffset>
<HasEndTime>true</HasEndTime>
<EndDateTimeLocalOffset>P14DT22H1M</EndDateTimeLocalOffset>
<HasDayOfWeekConstraint>false</HasDayOfWeekConstraint>
<UseUTCTime>false</UseUTCTime>
<ActiveUserRequirement>NoRequirement</ActiveUserRequirement>
<ActiveUserType>AllUsers</ActiveUserType>
<HasWhose>false</HasWhose>
<PreActionCacheDownload>false</PreActionCacheDownload>
<Reapply>false</Reapply>
<HasReapplyLimit>true</HasReapplyLimit>
<ReapplyLimit>3</ReapplyLimit>
<HasReapplyInterval>false</HasReapplyInterval>
<HasRetry>false</HasRetry>
<HasTemporalDistribution>false</HasTemporalDistribution>
<ContinueOnErrors>true</ContinueOnErrors>
<PostActionBehavior Behavior="Restart">
<AllowCancel>false</AllowCancel>
<PostActionDeadlineBehavior>RunAutomatically</PostActionDeadlineBehavior>
<PostActionDeadlineInterval>PT1M</PostActionDeadlineInterval>
<Title>Restart Now</Title>
<Text>Your system administrator is requesting that you restart your computer. Please save any unsaved work and then take this action to restart your computer.</Text>
</PostActionBehavior>
<IsOffer>false</IsOffer>
</Settings>
<SettingsLocks>
<ActionUITitle>false</ActionUITitle>
<PreActionShowUI>false</PreActionShowUI>
<PreAction>
<Text>false</Text>
<AskToSaveWork>false</AskToSaveWork>
<ShowActionButton>false</ShowActionButton>
<ShowCancelButton>false</ShowCancelButton>
<DeadlineBehavior>false</DeadlineBehavior>
<ShowConfirmation>false</ShowConfirmation>
</PreAction>
<HasRunningMessage>false</HasRunningMessage>
<RunningMessage>
<Text>false</Text>
</RunningMessage>
<TimeRange>false</TimeRange>
<StartDateTimeOffset>false</StartDateTimeOffset>
<EndDateTimeOffset>false</EndDateTimeOffset>
<DayOfWeekConstraint>false</DayOfWeekConstraint>
<ActiveUserRequirement>false</ActiveUserRequirement>
<ActiveUserType>false</ActiveUserType>
<Whose>false</Whose>
<PreActionCacheDownload>false</PreActionCacheDownload>
<Reapply>false</Reapply>
<ReapplyLimit>false</ReapplyLimit>
<RetryCount>false</RetryCount>
<RetryWait>false</RetryWait>
<TemporalDistribution>false</TemporalDistribution>
<ContinueOnErrors>false</ContinueOnErrors>
<PostActionBehavior>
<Behavior>false</Behavior>
<AllowCancel>false</AllowCancel>
<Deadline>false</Deadline>
<Title>false</Title>
<Text>false</Text>
</PostActionBehavior>
<IsOffer>false</IsOffer>
<AnnounceOffer>false</AnnounceOffer>
<OfferCategory>false</OfferCategory>
<OfferDescriptionHTML>false</OfferDescriptionHTML>
</SettingsLocks>
<Target>
<ComputerName>MYCOMPUTER</ComputerName>
</Target>
</MultipleActionGroup>
</BES>
any help would be greatly appreciated!
thanks,
Raul