SVG slow when using shadows - optimization

I am working on a website where you create svg artwork, which means you can dynamically add elements, scale, color and move them around.
Thing is, when you starting putting shadows on them, everything will start to slow down. For a live demo of this, this is the website I am working on.
I made a codepen which shows exactly the problem, try scrolling down the window in this codepen.
body {
margin: 0;
}
<!-- this SVG is created using the free tool over at www.material101.com -->
<svg height="1080" width="1920">
<defs>
<filter filterUnits="userSpaceOnUse" id="shadow-1">
<feFlood flood-opacity="0.12" flood-color="rgb(0,0,0)" result="flood" id="feFlood4286" />
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1" id="feComposite4288" />
<feGaussianBlur in="composite" stdDeviation="1.5" result="blur" id="feGaussianBlur4290" />
<feOffset dx="0" dy="1" result="offset" id="feOffset4292" />
<feComposite in="SourceGraphic" in2="offset" operator="over" result="fbSourceGraphic" id="feComposite4294" />
<feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" id="feColorMatrix4332" />
<feFlood id="feFlood4334" flood-opacity="0.24" flood-color="rgb(0,0,0)" result="flood" in="fbSourceGraphic" />
<feComposite id="feComposite4336" in2="fbSourceGraphic" in="flood" operator="in" result="composite1" />
<feGaussianBlur id="feGaussianBlur4338" in="composite" stdDeviation="1" result="blur" />
<feOffset id="feOffset4340" dx="0" dy="1" result="offset" />
<feComposite id="feComposite4342" in2="offset" in="fbSourceGraphic" operator="over" result="composite2" />
</filter>
<filter filterUnits="userSpaceOnUse" id="shadow-2">
<feFlood flood-opacity="0.16" flood-color="rgb(0,0,0)" result="flood" id="feFlood4348" />
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1" id="feComposite4350" />
<feGaussianBlur in="composite" stdDeviation="3" result="blur" id="feGaussianBlur4352" />
<feOffset dx="0" dy="3" result="offset" id="feOffset4354" />
<feComposite in="SourceGraphic" in2="offset" operator="over" result="fbSourceGraphic" id="feComposite4356" />
<feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" id="feColorMatrix4358" />
<feFlood id="feFlood4360" flood-opacity="0.23" flood-color="rgb(0,0,0)" result="flood" in="fbSourceGraphic" />
<feComposite id="feComposite4362" in2="fbSourceGraphic" in="flood" operator="in" result="composite1" />
<feGaussianBlur id="feGaussianBlur4364" in="composite" stdDeviation="3" result="blur" />
<feOffset id="feOffset4366" dx="0" dy="3" result="offset" />
<feComposite id="feComposite4368" in2="offset" in="fbSourceGraphic" operator="over" result="composite2" />
</filter>
<filter filterUnits="userSpaceOnUse" id="shadow-3">
<feFlood flood-opacity="0.19" flood-color="rgb(0,0,0)" result="flood" id="feFlood4377" />
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1" id="feComposite4379" />
<feGaussianBlur in="composite" stdDeviation="10" result="blur" id="feGaussianBlur4381" />
<feOffset dx="0" dy="10" result="offset" id="feOffset4383" />
<feComposite in="SourceGraphic" in2="offset" operator="over" result="fbSourceGraphic" id="feComposite4385" />
<feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" id="feColorMatrix4387" />
<feFlood id="feFlood4389" flood-opacity="0.23" flood-color="rgb(0,0,0)" result="flood" in="fbSourceGraphic" />
<feComposite id="feComposite4391" in2="fbSourceGraphic" in="flood" operator="in" result="composite1" />
<feGaussianBlur id="feGaussianBlur4393" in="composite" stdDeviation="3" result="blur" />
<feOffset id="feOffset4395" dx="0" dy="6" result="offset" />
<feComposite id="feComposite4397" in2="offset" in="fbSourceGraphic" operator="over" result="composite2" />
</filter>
<filter filterUnits="userSpaceOnUse" id="shadow-4">
<feFlood flood-opacity="0.25" flood-color="rgb(0,0,0)" result="flood" id="feFlood4421" />
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1" id="feComposite4423" />
<feGaussianBlur in="composite" stdDeviation="14" result="blur" id="feGaussianBlur4425" />
<feOffset dx="0" dy="14" result="offset" id="feOffset4427" />
<feComposite in="SourceGraphic" in2="offset" operator="over" result="fbSourceGraphic" id="feComposite4429" />
<feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" id="feColorMatrix4431" />
<feFlood id="feFlood4433" flood-opacity="0.22" flood-color="rgb(0,0,0)" result="flood" in="fbSourceGraphic" />
<feComposite id="feComposite4435" in2="fbSourceGraphic" in="flood" operator="in" result="composite1" />
<feGaussianBlur id="feGaussianBlur4437" in="composite" stdDeviation="5" result="blur" />
<feOffset id="feOffset4439" dx="0" dy="10" result="offset" />
<feComposite id="feComposite4441" in2="offset" in="fbSourceGraphic" operator="over" result="composite2" />
</filter>
<filter filterUnits="userSpaceOnUse" id="shadow-5">
<feFlood flood-opacity="0.3" flood-color="rgb(0,0,0)" result="flood" id="feFlood4451" />
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1" id="feComposite4453" />
<feGaussianBlur in="composite" stdDeviation="19" result="blur" id="feGaussianBlur4455" />
<feOffset dx="0" dy="19" result="offset" id="feOffset4457" />
<feComposite in="SourceGraphic" in2="offset" operator="over" result="fbSourceGraphic" id="feComposite4459" />
<feColorMatrix result="fbSourceGraphicAlpha" in="fbSourceGraphic" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" id="feColorMatrix4461" />
<feFlood id="feFlood4463" flood-opacity="0.22" flood-color="rgb(0,0,0)" result="flood" in="fbSourceGraphic" />
<feComposite id="feComposite4465" in2="fbSourceGraphic" in="flood" operator="in" result="composite1" />
<feGaussianBlur id="feGaussianBlur4467" in="composite" stdDeviation="6" result="blur" />
<feOffset id="feOffset4469" dx="0" dy="15" result="offset" />
<feComposite id="feComposite4471" in2="offset" in="fbSourceGraphic" operator="over" result="composite2" />
</filter>
</defs>
<rect x="0" y="0" width="100%" height="100%" fill="#e57373" />
<rect x="0" y="0" width="200" height="200" fill="#c62828" transform="matrix(9,0,0,8,-675,-436)" filter="url('#shadow-3')" style="cursor: pointer;" />
<circle cx="50" cy="50" r="50" fill="#ef5350" x="0" y="0" transform="matrix(0,0,5.0354,4.8626,-172.7689,-111.1304)" filter="url('#shadow-5')" style="cursor: pointer;" />
<rect x="0" y="0" width="200" height="200" fill="#e53935" transform="matrix(-0.309,-0.9511,0.9511,-0.309,892.796,543.0074)" style="cursor: pointer;" />
<rect x="0" y="0" width="200" height="200" fill="#e53935" transform="matrix(-0.0698,-1.9988,1.9988,-0.0698,307.1017,1179.8581)" style="cursor: pointer;" />
<circle cx="50" cy="50" r="50" fill="#e53935" x="0" y="0" transform="matrix(7.1281,-3.6319,1.816,3.564,519.7993,260.3949)" filter="url('#shadow-4')" style="cursor: pointer;" />
<polygon points="0,0,50,100,100,0" fill="#e53935" x="0" y="0" transform="matrix(1.8794,-0.684,3.0782,8.4572,26.1217,-24.6597)" filter="url('#shadow-5')" style="cursor: pointer;" />
<polygon points="0,0,50,100,100,0" fill="#b71c1c" x="0" y="0" transform="matrix(6.6574,-2.1631,0.618,1.9021,-27.7715,158.0503)" style="cursor: pointer;" filter="url('#shadow-2')" />
<circle cx="50" cy="50" r="50" fill="#e53935" x="0" y="0" transform="matrix(0,0,8.9658,0.7844,103.7124,131.7799)" filter="url('#shadow-1')" style="cursor: pointer;" />
<circle cx="50" cy="50" r="50" fill="#e53935" x="0" y="0" transform="matrix(-2.8191,1.0261,-1.7101,-4.6985,369.4589,394.6201)" filter="url('#shadow-4')" style="cursor: pointer;" />
<circle cx="50" cy="50" r="50" fill="#ef5350" x="0" y="0" transform="matrix(1.8264,-0.1598,0.1648,1.8842,381.5187,128.4891)" filter="url('#shadow-3')" style="cursor: pointer;" />
</svg>
Now, I tried seeing what the problem is, but my knowledge is limited. I am sure it is the shadows that are causing this, because it only freezes when shadows are present.
It is also important to know that I let the user choose from 5 different shadows, based on google material, and the higher the level of shadow, the more it freezes. I am also using Snap SVG, but I don't think this has anything to do with it.
Any ideas are greatly appreciated guys.

First problem:
You are specifying that filterUnits=userSpaceOnUse, but then you're not specifying the dimensions that the filter should use. This results in undefined behavior. On Chrome, it seems as if it's setting the filter region as the entire viewBox for every filter - which is resulting in crazy slow performance. Remove the filterUnits declaration and set your filter region to x/y=-50% and height/width ="200%" and you'll get much better performance. i.e.
<filter id="shadow-n" x="-50%" y="-50%" width="200%" height="200%">
With this, you're still a bit slow, but at least you can scroll the page!
Second problem:
You're doing a lot of compositing and blur operations and compositing is slow (at least in Chrome - they're pretty fast in Edge). Instead of doing multiple separate blurs and compositing them, you should be doing a single blur and then shaping the opacity with a feComponentTransfer/feFuncA. You can get a sense for how to do this from a filter generator I built for dropshadows which you can see here:
http://codepen.io/mullany/pen/sJopz
Adjust the spread and size slider and see how the generated code changes.
All that said, complicated SVG Filters can be slow, period. My hope has been that the Chrome team GPU-accelerates them, but unfortunately, they seem to only be paying attention to accelerating things that are used by CSS filter effects.

Related

Read the XML data Nodes in TSQL Query and filter the XML columns data

I Have a TABLE in that one filed have XML data, below I have provided and I need to read this fields and filter the data in SQL QUery, Can someone help to read below select list fields?
XML is:
<Order
xmlns:Order="http://www.hp.com/namespaces/iscs/base/ordermanagement/ois/schemas/order_xml"
UniqueId="" Id="SCEO37600056" Name="" DisplayName=""
Description="" ShopperId="0c52f72f-d24d-492b-89e8-a8f433b652b1"
SerializationVersion="1.0.0" SourceCode=""
CustomerId="SCEU33684387" CustomerEmail="administratie#entis.ai"
TaxLogic="DRC" DefaultTaxRate="21" OrderEDDMessage="UnKnown"
QuoteCreatedOn="1901-01-01T00:00:00" OrderKey="SCEO37600056"
CurrencyCode="EUR" Language="nl"
CurrentApplication="NLSMBCallCenter" IPAddress=""
DiscountType="None" CanProcess="false" AccountId="SCEA3258"
CatalogName="NL Public (CG1926)" Tier1="false"
ExternalAccountId="" CustomerName="Tineke van Westrenen"
CompanyName="Default Public Account" SalesRepId="SCEU33285893"
QuoteId="" AgentId="" AgentLogin="" QuoteCreatedBy=""
OrderCreatedBy="" QuoteCreatedDate="1901-01-01T00:00:00"
CommunityId="SCESG23099"
InternalComments="DYN_BUNDLE_0008162_6B8D6EA_ABH on BC pricePGS Fraud Review
-- Order removed from RMS Hold - X Minute Services -- Order released - X Minute Services "
ExternalComments=""
PSTQSTExemptionCode="" GSTHSTExemptionCode=""
InvoiceComments="" PurchaseStatus="" PrimaryUse=""
CatalogId="CG1926" BillingBlock="false"
ReceivedInvoice="false" BusinessPipeline=""
CustomerRequestedDeliveryDate="" CustomerRequestedDeliveryTime=""
BypassAvaialblility="false" BypassAvaialblilityReason=""
CustomerSegment="Business" ProcessingType="Regular"
SendSiebel="false" AssociateOpportunity=""
CheckInventory="true" IsInventoryAvailable="false"
CountryKey="NL" Region="EMEA" ApplyForRecycleServices=""
RegisterForInternetServiceProvider="" RequestToIssueReceipt=""
ReceiveOrderStatusMails="" CanValidatePipeLine="true"
IsCCRepApproved="false" FulfillmentId="EU_Direct"
SourceCatalogKey="CAT-1157426" ShouldSettleBill="false"
IsPriceInclusiveofTax="true" IsFrozenQuote="false"
ShouldSettlePayPal="false" DiscountAllowanceExceeded="false"
DiscountAllowanceExceededAmount="0"
HasDisplayedDiscountExceededMsg="false"
PriceIncludesRegulatoryFee="false"
HasMultipleLSPFulfillment="false"
IsEDDMessageRequested="false" FulfillmentSegment="SMB"
FulfillmentSubSegment="Public" CustomerApprovalEmail=""
ClubName="" HasOutOfStockItem="false" ISDRCEligible="true"
ISDRCApplied="true" Doc_number="0087a107-49b337ac8-7"
ISVIESRequired="false" OrderWithSavedCardProfile="false"
Is3DSecure="false" IsValidGeoBlockingSoldtoCountry="false"
ISGeoBlockingApplied="false" ISGeoBlockingEligible="false"
GeoBlockingSoldToCountry="NL" OrderMethodType="ZCDO"
OrderType="Regular" OrderSource="ZISCSCC" Currency=""
Prefix="" DealDescriptor="NLEURSP" OrderCancelledBy=""
OrderStatus="Open" OrderDate="2022-11-22T14:48:55">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Open</Status>
<Created UniqueId="" Id="" ActionPerformed="Created" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:48:55.2475289+00:00" />
<LastModified UniqueId="" Id="" ActionPerformed="Modified" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:48:58.3725983+00:00" />
<ExtendedProperties />
<ExpirationDate>2022-12-22T00:00:00</ExpirationDate>
<OriginationSource>CallCenter</OriginationSource>
<SubTotal UniqueId="" Id="" Amount="23137.97" />
<BasePriceSubTotal UniqueId="" Id="" Amount="23137.8" />
<Total UniqueId="" Id="" Amount="20874.57" />
<Errors />
<LineItems>
<Item UniqueId="" Id="1" Name="" DisplayName="" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" OSSStatus="" GroupId="1" Quantity="10" ActualQty="0" AttachId="0" DynamicBunImageURL="" IsDisplayable="true" Availability="0" ValidatePrice="true" CurrentQty="0" FutureQty="-1" ReservationQty="0" EDD="TBA" FutureUsed="false" IsValid="true" CampaignCode="" TaxLogic="DRC" PriceIncludesRegulatoryFee="false" OID="0" DynamicBundleId="" DynamicBundleName="" DynamicBundleDescription="" Sequence="0" ActualLineItemId="1" IsDynamicBundle="false" DynamicBundleQty="0" IsCouponApplicable="false" ParentSku="" isTaxRateChanged="false" ItemMaxQty="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Product UniqueId="" Id="P498222" Name="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" DisplayName="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" CategoryId="" CategoryName="" OID="" Characteristics="" Sequence="0" PrimaryImage="https://www.hp.com/nl-nl/shop/Html/Merch/Images/c08249910_209x189.jpg" CatalogId="CG1926" ParentCategoryId="" HierarchyDescription="" Hierarchy="" FulfillmentId="EU_Direct" Expressflag="false" ApplicationType="" ConsumesInventory="true" IsProductTangible="true" IsConfigurable="true" CurrentEDD="TBA" FutureEDD="TBA" CurrentInventory="9" FutureInventory="0" ConfigBaseProductPartNumber="" PreferredProduct="false" Family="" ArfFlag="false" IsNonBuyable="false" IsExternal="false" FreeShipping="false" IsProductNew="false" PartNumber="6B8D6EA#ABH" MfgName="" Unspsc="43211503" ProductLine="IK" HTSCode="8471300000" IsAncillary="false" IsSameQtyReq="false" TaxCode="OV" ProductFamily="" ProductSource="" QuickAccessCode="" Qualifier="" IsActive="true" IsVirtual="false" IsSellable="false" IsStandAlone="false" DeliveryGroup="" FulfillmentSource="" CampaignCode="" EclipseId="" TaxRate="0" TaxType="OM" BigDealId="44301913" Quantity="1" WarrantyDesc="" PscLocale="" PscReferringUrl="" PscCrossSellUrl="" PscPartNumber="" LspSku="" LSPFulfillmentId="" OutOfStock="true" LeadTime="365" ETA="261" EDDMessage="ShipIn48Hours" ActualEDDMessage="UnKnown" FreeShippingOrder="false" DFlag="false" SourceCatalogId="" HasPromotions="false" HasDiscounts="false" DynBunId="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AttachId>0</AttachId>
<CatalogItemType>Product</CatalogItemType>
<CatalogItems />
<Specifications />
<MetadataList>
<Metadata UniqueId="" Id="" Name="MarketingText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
<Metadata UniqueId="" Id="" Name="XmlContentText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
</MetadataList>
<MetadataGroups />
<Promotions />
<Surcharge UniqueId="" Id="" Amount="0" />
<CopyrightFee UniqueId="" Id="" Amount="0" />
<ProductType>Bto</ProductType>
<Discount
xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance" d6p1:type="OperatorDiscount" UniqueId="" Id="" Name="" DisplayName="" Description="" Code="" ApplyToLocation="Unknown" DiscountType="FixedAmount" ReasonCode="Deal price approval" Value="64.64" MinimumApplicableAmount="0" MaximumApplicableAmount="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<ApprovalId />
</Discount>
</ProductDiscount>
<PscSegment>unknown</PscSegment>
<BaseCatalogPrice UniqueId="" Id="" Amount="2152" />
<BaseListPrice UniqueId="" Id="" Amount="2152" />
<ListPrice UniqueId="" Id="" Amount="2603.92" />
<CatalogFinalPrice UniqueId="" Id="" Amount="2603.92" />
<PriceType>Unknown</PriceType>
</Product>
<ExternalInfo UniqueId="" Id="" Name="" DisplayName="" Description="" ProductColor="" ProductURL="" AccessoryURL="" ImageURL="" ProductLine="" ProductFamily="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
</ExternalInfo>
<LineItemDiscountCollection>
<Discount
xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" d5p1:type="OperatorDiscount" UniqueId="" Id="" Name="" DisplayName="" Description="" Code="" ApplyToLocation="Item" DiscountType="FixedAmount" ReasonCode="Deal price approval" Value="-646.4" MinimumApplicableAmount="0" MaximumApplicableAmount="0">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Message />
<DiscountTaxFactor UniqueId="" Id="" Amount="0" />
<TypeOfDiscount>Operator</TypeOfDiscount>
<RequestorSalesRepId />
<ApproverSalesRepId />
<ApprovalId />
</Discount>
</LineItemDiscountCollection>
<TaxItems>
<LineItemTax UniqueId="" Id="0" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0" />
<SubTaxes>
<LineItemTaxLevel UniqueId="" Id="0">
<_amount UniqueId="" Id="" Amount="0" />
<_level />
<_code>OM</_code>
<_type>OM</_type>
<_message />
<_rate>21</_rate>
<_certificateNumber />
</LineItemTaxLevel>
</SubTaxes>
</LineItemTax>
</TaxItems>
<IsExclude>false</IsExclude>
<LineItemApportionedDiscount UniqueId="" Id="" Amount="0" />
<RefreshedProduct UniqueId="" Id="P498222" Name="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" DisplayName="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" Description="HP ZBook Firefly G9 mobiele workstation met NVIDIA® T500" CategoryId="" CategoryName="" OID="" Characteristics="" Sequence="0" PrimaryImage="https://www.hp.com/nl-nl/shop/Html/Merch/Images/c08249910_209x189.jpg" CatalogId="CG1926" ParentCategoryId="" HierarchyDescription="" Hierarchy="" FulfillmentId="EU_Direct" Expressflag="false" ApplicationType="" ConsumesInventory="true" IsProductTangible="true" IsConfigurable="true" CurrentEDD="TBA" FutureEDD="TBA" CurrentInventory="9" FutureInventory="0" ConfigBaseProductPartNumber="" PreferredProduct="false" Family="" ArfFlag="false" IsNonBuyable="false" IsExternal="false" FreeShipping="false" IsProductNew="false" PartNumber="6B8D6EA#ABH" MfgName="" Unspsc="43211503" ProductLine="IK" HTSCode="8471300000" IsAncillary="false" IsSameQtyReq="false" TaxCode="OM" ProductFamily="" ProductSource="" QuickAccessCode="" Qualifier="" IsActive="true" IsVirtual="false" IsSellable="false" IsStandAlone="false" DeliveryGroup="" FulfillmentSource="" CampaignCode="" EclipseId="" TaxRate="21" TaxType="OM" BigDealId="44301913" Quantity="1" WarrantyDesc="" PscLocale="" PscReferringUrl="" PscCrossSellUrl="" PscPartNumber="" LspSku="" LSPFulfillmentId="" OutOfStock="false" LeadTime="365" ETA="261" EDDMessage="ShipIn48Hours" ActualEDDMessage="UnKnown" FreeShippingOrder="false" DFlag="false" SourceCatalogId="" HasPromotions="false" HasDiscounts="false" DynBunId="">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AttachId>0</AttachId>
<CatalogItemType>Product</CatalogItemType>
<CatalogItems />
<Specifications />
<MetadataList>
<Metadata UniqueId="" Id="" Name="MarketingText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
<Metadata UniqueId="" Id="" Name="XmlContentText" Value="" Sequence="0">
<MetadataType>Specification</MetadataType>
</Metadata>
</MetadataList>
<MetadataGroups />
<Promotions />
<Surcharge UniqueId="" Id="" Amount="0" />
<CopyrightFee UniqueId="" Id="" Amount="0" />
<ProductType>Bto</ProductType>
<Height Value="0" UnitOfMeasure="Unknown" />
<Length Value="0" UnitOfMeasure="Unknown" />
<Width Value="0" UnitOfMeasure="Unknown" />
<Weight Value="0" UnitOfMeasure="Unknown" />
<AliasSkus />
<TaxAmount UniqueId="" Id="" Amount="451.92" />
<TaxAmountwithQty UniqueId="" Id="" Amount="0" />
<ProductDiscount />
<PscSegment>unknown</PscSegment>
<BaseCatalogPrice UniqueId="" Id="" Amount="2152" />
<BaseListPrice UniqueId="" Id="" Amount="2152" />
<ListPrice UniqueId="" Id="" Amount="2603.92" />
<CatalogFinalPrice UniqueId="" Id="" Amount="2603.92" />
<PriceType>Unknown</PriceType>
</RefreshedProduct>
<SurchargeTaxFactor UniqueId="" Id="" Amount="0" />
<CopyrightFeeTaxFactor UniqueId="" Id="" Amount="0" />
</Item>
</LineItems>
<ValidationErrors />
<CreditRequestAmount UniqueId="" Id="" Amount="25259" />
<CVResult />
</Payment>
</Payments>
<Shipments>
<Shipment
xmlns:d3p1="http://www.w3.org/2001/XMLSchema-instance" d3p1:type="LSShipment" UniqueId="" Id="" AddressId="" IsDefault="false" ShippingInstructions="" ThirdPartyTrackingNo="" ShipmentNo="" ActualAdminData="" ActualProductionDate="" AcutalConsolidationDate="" ActualShipDate="" ActualDeliveryDate="" PlannedShipDate="" PlannedDeliveryDate="" OSSStatus="" StatusRefTime="" CarrierCode="LSCarrierCode" IsAssisted="false" ServiceLevelCode="LSServiceLevelCode" ServiceLevelDescCode="SS">
<LineItems>
<Id>1</Id>
<Id>2</Id>
</LineItems>
<CarrierList />
<EnhancedServiceList />
<EnhancedService />
<LsSkus>
<LineItem UniqueId="" Id="1" Name="" DisplayName="" Description="" OSSStatus="" GroupId="" Quantity="1" ActualQty="0" AttachId="0" DynamicBunImageURL="" IsDisplayable="true" Availability="0" ValidatePrice="true" CurrentQty="0" FutureQty="0" ReservationQty="0" FutureUsed="false" IsValid="true" CampaignCode="" TaxLogic="Default" PriceIncludesRegulatoryFee="false" OID="0" DynamicBundleId="" DynamicBundleName="" DynamicBundleDescription="" Sequence="0" ActualLineItemId="" IsDynamicBundle="false" DynamicBundleQty="0" IsCouponApplicable="false" ParentSku="" isTaxRateChanged="false" ItemMaxQty="0">
<DiscountCollection />
<TaxItems />
<IsExclude>false</IsExclude>
<LineItemApportionedDiscount UniqueId="" Id="" Amount="0" />
<SurchargeTaxFactor UniqueId="" Id="" Amount="0" />
<CopyrightFeeTaxFactor UniqueId="" Id="" Amount="0" />
</LineItem>
</LsSkus>
</Shipment>
</Shipments>
<Discounts />
<TaxItems>
<LineItemTax UniqueId="" Id="0" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0" />
<SubTaxes>
</SubTaxes>
</LineItemTax>
<LineItemTax UniqueId="" Id="1" Message="" Code="OM" Type="Product">
<TotalAmount UniqueId="" Id="" Amount="0.2" />
<SubTaxes>
</SubTaxes>
</LineItemTax>
</TaxItems>
<Compensations />
<SendSiebelTime>1901-01-01T00:00:00</SendSiebelTime>
<AssociateOpportunityTime>1901-01-01T00:00:00</AssociateOpportunityTime>
</Addresses>
<PhoneNumbers />
<EmailAddresses>
<Email UniqueId="" Id="SCEUE33685069" Address="administratie#entis.ai" IsDefault="false">
<Locale>Work</Locale>
<Status>Active</Status>
</Email>
</EmailAddresses>
<ExternalKey>p1mfrp6tt34bsmpbpu9cgn4yduj61x5x</ExternalKey>
<UserGuid>05FB4EDB-8CB3-4224-BB49-39628D21C6BF</UserGuid>
<Type>External</Type>
<RegistrationDate>2022-10-28T12:32:56</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<SecurityQuestion1 />
<SecurityAnswer1 />
<SecurityQuestion2 />
<SecurityAnswer2 />
<SiebelContactID />
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</CreatedFor>
<CreatedBy UniqueId="" Id="SCEU33285893" Name="AUTH\vanVegS" DisplayName="" Description="" FirstName="serge" MiddleInitial="" LastName="vegten" LastName2="" Salutation="" Language="nl" Notes="" UserTypeCode="" UserType="0" UserName="AUTH\vanVegS" PasswordHash="" Password="" UserSecuritySalt="" SecurityQuestion="" SecurityAnswer="" PrimaryAccountId="" Country="NL" PhoneticLastName="" PhoneticFirstName="" Gender="Unknown" DateOfBirth="1901-01-01T00:00:00" Occupation="" BusinessFunction="" PromoEmailConsent="" AdminEmailConsent="" FaxConsent="" Department="" CustomerSegment="Business" CompanyName="" CustomerSubSegment="Public" IsFarmingAccount="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<Created UniqueId="" Id="" ActionPerformed="created" PerformedBy="AUTH\canovasl" PerformedDate="2020-11-16T16:40:41" ItemSource="CallCenter" />
<LastModified UniqueId="" Id="" ActionPerformed="modified" PerformedBy="AUTH\vanVegS" PerformedDate="2022-11-22T13:47:04.0639606+00:00" ItemSource="CallCenter" />
<ExtendedProperties />
<Addresses>
<Address UniqueId="" Id="SCEUA35660872" Name="" DisplayName="" Description="" AddressName="" CustomerTitle="" SalutationKey="" FirstName="" Area="" TaxId="" AlternateShippingContact="" MiddleInitial="" LastName="" CompanyName="" Line1="" Line2="" Line3="" City="" Region="" PostalCode="" Country="NL" IsDefault="false" LastName2="" AddressAssociationType="User" Locale="Unknown" CRSID="" DepartmentName="" PhoneticCompanyName="" PhoneticFirstName="" PhoneticLastName="" Email="" CYSISID="" StateName="" CRSStatusCode="RequestNotCalled" CRSErrorCode="" AVRStatusCode="SE00000800" AVRErrorCode="" IsVerified="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<AddressType>Billing</AddressType>
<CompanyPresident />
</Address>
</Addresses>
<PhoneNumbers />
<EmailAddresses>
<Email UniqueId="" Id="SCEUE33286377" Address="serge.van.vegten#hp.com" IsDefault="false">
<Locale>Work</Locale>
<Status>Active</Status>
</Email>
</EmailAddresses>
<ExternalKey>U</ExternalKey>
<UserGuid>0DFFDA3D-B811-4381-8E81-DAFF3349CEC9</UserGuid>
<Type>Internal</Type>
<RegistrationDate>2020-11-16T16:40:41</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<SecurityQuestion1 />
<SecurityAnswer1 />
<SecurityQuestion2 />
<SecurityAnswer2 />
<SiebelContactID />
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</CreatedBy>
<UpdatedBy UniqueId="" Id="" Name="" DisplayName="" Description="" FirstName="" MiddleInitial="" LastName="" LastName2="" Salutation="" Language="" Notes="" UserTypeCode="" UserType="0" UserName="" PasswordHash="" Password="" UserSecuritySalt="" SecurityQuestion="" SecurityAnswer="" PrimaryAccountId="" Country="" PhoneticLastName="" PhoneticFirstName="" Gender="Unknown" DateOfBirth="1901-01-01T00:00:00" Occupation="" BusinessFunction="" Department="" CustomerSegment="Consumer" CompanyName="" CustomerSubSegment="Public" IsFarmingAccount="false">
<EffectiveStartDate>1901-01-01T00:00:00</EffectiveStartDate>
<EffectiveEndDate>1901-01-01T00:00:00</EffectiveEndDate>
<Status>Active</Status>
<ExtendedProperties />
<Addresses />
<PhoneNumbers />
<EmailAddresses />
<ExternalKey />
<UserGuid />
<Type>Unknown</Type>
<RegistrationDate>1901-01-01T00:00:00</RegistrationDate>
<PasswordExpirationDate>1901-01-01T00:00:00</PasswordExpirationDate>
<LastSiebelUpdatedDate>1901-01-01T00:00:00</LastSiebelUpdatedDate>
</UpdatedBy>
<PreferredShipDate>1901-01-01T00:00:00</PreferredShipDate>
<QuoteIds>
<Id />
</QuoteIds>
SELECT X.Y.value('ProductType[1]','VARCHAR(20)') AS ProductType, X.Y.value('ISDRCEligible[1]','VARCHAR(20)') AS ISDRCEligible,
X.Y.value('ISDRCApplied[1]','VARCHAR(20)') AS ISDRCApplied,
X.Y.value('type[1]','NVARCHAR(20)') AS type,
X.Y.value('IsAncillary[1]','VARCHAR(20)') AS IsAncillary,X.Y.value('IsSameQtyReq[1]','VARCHAR(20)') AS IsSameQtyReq,X.Y.value('TaxCode[1]','VARCHAR(20)') AS TaxCode,
X.Y.value('Country[1]','VARCHAR(20)') AS Country
FROM (
SELECT top 100000 CAST(SerializedOrder AS XML) as SerializedOrder
FROM TransactionOrder WITH(NOLOCK))a
CROSS APPLY a.SerializedOrder.nodes('Order/LineItems/Item') AS X(Y)
WHERE X.Y.value('ProductType[1]','VARCHAR(20)')='Bto' AND X.Y.value('ISDRCEligible[1]','VARCHAR(20)')='true' AND
X.Y.value('ISDRCApplied[1]','VARCHAR(20)')='true' AND --X.Y.value('type[1]','NVARCHAR(20)')='CarePack' AND
X.Y.value('IsAncillary[1]','VARCHAR(20)')='true' AND X.Y.value('IsSameQtyReq[1]','VARCHAR(20)')='true' AND
X.Y.value('TaxCode[1]','VARCHAR(20)')='OM' AND X.Y.value('Country[1]','VARCHAR(20)')='NL'

Outlook Web Add-In error 'There were deployment errors. Continue?'

Currently I'm working on an Outlook Add-In using Visual Studio 2022 with React (TypeScript). When starting the application a message box appears containing following message:
There were deployment errors. Continue?
The output of the build console doesn't help at all because it only says that an error has occurred but without any further information.
Is there any way to get more error details or does anyone know how to fix this?
Manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
<Id>0ca51293-705c-45d5-975c-e59909dab3ea</Id>
<Version>1.0.0.0</Version>
<ProviderName>Company</ProviderName>
<DefaultLocale>de-DE</DefaultLocale>
<DisplayName DefaultValue="OutlookAddInWeb" />
<Description DefaultValue="OutlookAddInWeb Description" />
<IconUrl DefaultValue="~remoteAppUrl/Images/Button64x64.png" />
<HighResolutionIconUrl DefaultValue="~remoteAppUrl/Images/Button80x80.png" />
<SupportUrl DefaultValue="https://www.somesite.com/" />
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
<AppDomain>https://localhost:44488</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="~remoteAppUrl/" />
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="Commands.Url" />
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="GroupLabel" />
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="TaskpaneButton.Label" />
<Supertip>
<Title resid="TaskpaneButton.Label" />
<Description resid="TaskpaneButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url" />
</Action>
</Control>
<Control xsi:type="Button" id="ActionButton">
<Label resid="ActionButton.Label" />
<Supertip>
<Title resid="ActionButton.Label" />
<Description resid="ActionButton.Tooltip" />
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16" />
<bt:Image size="32" resid="Icon.32x32" />
<bt:Image size="80" resid="Icon.80x80" />
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>action</FunctionName>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="~remoteAppUrl/Images/Button16x16.png" />
<bt:Image id="Icon.32x32" DefaultValue="~remoteAppUrl/Images/Button32x32.png" />
<bt:Image id="Icon.80x80" DefaultValue="~remoteAppUrl/Images/Button80x80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="~remoteAppUrl/commands.html" />
<bt:Url id="Taskpane.Url" DefaultValue="~remoteAppUrl/" />
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Outlook Add-in" />
<bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane" />
<bt:String id="ActionButton.Label" DefaultValue="Perform an action" />
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties." />
<bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked." />
</bt:LongStrings>
</Resources>
<WebApplicationInfo>
<Id>1d32bd7d-70ab-42b5-b11a-8e73a6b8ab4a</Id>
<Resource>api://localhost:44488/1d32bd7d-70ab-42b5-b11a-8e73a6b8ab4a</Resource>
<Scopes>
<Scope>openid</Scope>
<Scope>profile</Scope>
</Scopes>
</WebApplicationInfo>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>
Use https://learn.microsoft.com/en-us/office/dev/add-ins/testing/troubleshoot-manifest to validate your manifest file. There are issues with your manifest file.

Set a correlation variable for receive task with camunda bpmn 2.0

I am new to the camunda workflow modeller. I am trying to create a workflow with bpmn 2.0 as follows
In the receive task I also added the correlation message as follows
But the workflow is expecting to businessKey or CorrelationKey for receive tasks. Camunda documentation says its possible as per the link
https://docs.camunda.io/docs/1.1/guides/message-correlation/
But I don't any such options could be set in my camunda modeller as shown in my second diagram . Is there a problem with my camunda version I use I am not sure. Due to this I am not able to correlate my message in receive task.
Any help here is much appreciated.
Adding my camunda bpmn also.
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ol3ys3" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:process id="Process_1gdubba" isExecutable="true">
<bpmn:sequenceFlow id="Flow_1gzqzne" sourceRef="StartEvent_1" targetRef="bookPackage" />
<bpmn:endEvent id="Event_1ymhad0">
<bpmn:incoming>Flow_1j5ss28</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_105dr0i" sourceRef="bookPackage" targetRef="WaitForBookingOrder" />
<bpmn:serviceTask id="bookPackage" name="Book Package" camunda:asyncBefore="true">
<bpmn:extensionElements>
<camunda:connector>
<camunda:inputOutput>
<camunda:inputParameter name="headers">
<camunda:map>
<camunda:entry key="content-type">application/json</camunda:entry>
</camunda:map>
</camunda:inputParameter>
<camunda:inputParameter name="payload">${OrderDetails}</camunda:inputParameter>
<camunda:inputParameter name="method">POST</camunda:inputParameter>
<camunda:inputParameter name="url">http://localhost:8080/order/bookOrder</camunda:inputParameter>
</camunda:inputOutput>
<camunda:connectorId>http-connector</camunda:connectorId>
</camunda:connector>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gzqzne</bpmn:incoming>
<bpmn:outgoing>Flow_105dr0i</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:startEvent id="StartEvent_1" name="Booking Details Entered" camunda:initiator="initiator-1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_0vq0vhv" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1gzqzne</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1j5ss28" sourceRef="WaitForBookingOrder" targetRef="Event_1ymhad0" />
<bpmn:receiveTask id="WaitForBookingOrder" name="Wait for Order Booking" camunda:asyncBefore="true" messageRef="Message_0uzf0py">
<bpmn:incoming>Flow_105dr0i</bpmn:incoming>
<bpmn:outgoing>Flow_1j5ss28</bpmn:outgoing>
</bpmn:receiveTask>
</bpmn:process>
<bpmn:message id="Message_077dwge" />
<bpmn:message id="Message_1j9gxjh" />
<bpmn:message id="Message_0k2uuhr" />
<bpmn:message id="Message_1k0sfyp" name="Message_126eokf" />
<bpmn:signal id="Signal_04rb9k9" name="Signal_1kupnq8" />
<bpmn:message id="Message_0kmdk8v" name="Message_1m6is76" />
<bpmn:message id="Message_0bg1bci" name="Message_273179n" />
<bpmn:message id="Message_16e0u8x" name="Message_2dj35ou" />
<bpmn:message id="Message_12k4481" name="Message_3fq29kb" />
<bpmn:message id="Message_00ax63g" name="Message_0odalie" />
<bpmn:message id="Message_0waz31j" name="Message_005vg07" />
<bpmn:message id="Message_06yphqu" name="Message_35sf91n" />
<bpmn:message id="Message_0m445do" name="Message_2vut7h6" />
<bpmn:message id="Message_04gasop" name="Message_2n54vi8" />
<bpmn:message id="Message_088ugzc" name="Message_1b531ct" />
<bpmn:message id="Message_1rvnt8b" name="Message_3d4pilp" />
<bpmn:message id="Message_0xi2an8" name="Message_2bdedqe" />
<bpmn:message id="Message_1gvhqy2" name="Message_3aujnko" />
<bpmn:message id="Message_1q13r23" name="Message_09b9rf6" />
<bpmn:message id="Message_0uzf0py" name="WaitForBookingOrder">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements><?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ol3ys3" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:process id="Process_1gdubba" isExecutable="true">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:sequenceFlow id="Flow_1gzqzne" sourceRef="StartEvent_1" targetRef="bookPackage" />
<bpmn:endEvent id="Event_1ymhad0">
<bpmn:incoming>Flow_1j5ss28</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_105dr0i" sourceRef="bookPackage" targetRef="WaitForBookingOrder" />
<bpmn:serviceTask id="bookPackage" name="Book Package" camunda:asyncBefore="true">
<bpmn:extensionElements>
<camunda:connector>
<camunda:inputOutput>
<camunda:inputParameter name="headers">
<camunda:map>
<camunda:entry key="content-type">application/json</camunda:entry>
</camunda:map>
</camunda:inputParameter>
<camunda:inputParameter name="payload">${OrderDetails}</camunda:inputParameter>
<camunda:inputParameter name="method">POST</camunda:inputParameter>
<camunda:inputParameter name="url">http://localhost:8080/order/bookOrder</camunda:inputParameter>
</camunda:inputOutput>
<camunda:connectorId>http-connector</camunda:connectorId>
</camunda:connector>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gzqzne</bpmn:incoming>
<bpmn:outgoing>Flow_105dr0i</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:startEvent id="StartEvent_1" name="Booking Details Entered" camunda:initiator="initiator-1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_0vq0vhv" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1gzqzne</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1j5ss28" sourceRef="WaitForBookingOrder" targetRef="Event_1ymhad0" />
<bpmn:receiveTask id="WaitForBookingOrder" name="Wait for Order Booking" camunda:asyncBefore="true" messageRef="Message_0uzf0py">
<bpmn:incoming>Flow_105dr0i</bpmn:incoming>
<bpmn:outgoing>Flow_1j5ss28</bpmn:outgoing>
</bpmn:receiveTask>
</bpmn:process>
<bpmn:message id="Message_077dwge" />
<bpmn:message id="Message_1j9gxjh" />
<bpmn:message id="Message_0k2uuhr" />
<bpmn:message id="Message_1k0sfyp" name="Message_126eokf" />
<bpmn:signal id="Signal_04rb9k9" name="Signal_1kupnq8" />
<bpmn:message id="Message_0kmdk8v" name="Message_1m6is76" />
<bpmn:message id="Message_0bg1bci" name="Message_273179n" />
<bpmn:message id="Message_16e0u8x" name="Message_2dj35ou" />
<bpmn:message id="Message_12k4481" name="Message_3fq29kb" />
<bpmn:message id="Message_00ax63g" name="Message_0odalie" />
<bpmn:message id="Message_0waz31j" name="Message_005vg07" />
<bpmn:message id="Message_06yphqu" name="Message_35sf91n" />
<bpmn:message id="Message_0m445do" name="Message_2vut7h6" />
<bpmn:message id="Message_04gasop" name="Message_2n54vi8" />
<bpmn:message id="Message_088ugzc" name="Message_1b531ct" />
<bpmn:message id="Message_1rvnt8b" name="Message_3d4pilp" />
<bpmn:message id="Message_0xi2an8" name="Message_2bdedqe" />
<bpmn:message id="Message_1gvhqy2" name="Message_3aujnko" />
<bpmn:message id="Message_1q13r23" name="Message_09b9rf6" />
<bpmn:message id="Message_0uzf0py" name="WaitForBookingOrder">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="correlationKey" value="orderId" />
</camunda:properties>
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1gdubba">
<bpmndi:BPMNEdge id="Flow_1j5ss28_di" bpmnElement="Flow_1j5ss28">
<di:waypoint x="720" y="127" />
<di:waypoint x="792" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_105dr0i_di" bpmnElement="Flow_105dr0i">
<di:waypoint x="470" y="127" />
<di:waypoint x="620" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gzqzne_di" bpmnElement="Flow_1gzqzne">
<di:waypoint x="208" y="127" />
<di:waypoint x="370" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1ymhad0_di" bpmnElement="Event_1ymhad0">
<dc:Bounds x="792" y="109" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1sgn7mg_di" bpmnElement="bookPackage">
<dc:Bounds x="370" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ktohbs_di" bpmnElement="StartEvent_1">
<dc:Bounds x="172" y="109" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="152" y="152" width="77" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0abkrtc_di" bpmnElement="WaitForBookingOrder">
<dc:Bounds x="620" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1gdubba">
<bpmndi:BPMNEdge id="Flow_1j5ss28_di" bpmnElement="Flow_1j5ss28">
<di:waypoint x="720" y="127" />
<di:waypoint x="792" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_105dr0i_di" bpmnElement="Flow_105dr0i">
<di:waypoint x="470" y="127" />
<di:waypoint x="620" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gzqzne_di" bpmnElement="Flow_1gzqzne">
<di:waypoint x="208" y="127" />
<di:waypoint x="370" y="127" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1ymhad0_di" bpmnElement="Event_1ymhad0">
<dc:Bounds x="792" y="109" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1sgn7mg_di" bpmnElement="bookPackage">
<dc:Bounds x="370" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ktohbs_di" bpmnElement="StartEvent_1">
<dc:Bounds x="172" y="109" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="152" y="152" width="77" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0abkrtc_di" bpmnElement="WaitForBookingOrder">
<dc:Bounds x="620" y="87" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Not sure if you already have the answer or not, but the documentation that you refers is camunda 8.0, while yours is camunda 7.
I'm not sure about camunda 8, but in camunda 7, you can correlate with business key or variables.
https://docs.camunda.org/javadoc/camunda-bpm-platform/7.14/org/camunda/bpm/engine/runtime/MessageCorrelationBuilder.html

Outlook Add-ins OWA ios not loading

I'm a little stump with what's wrong with my manifest that my add-in won't load on the web version of Outlook 365. It loads just fine on the native iOS outlook and on desktop web browsers in outlook.office365.com. I followed the samples provided on how to Add MobileFormFactor, but can't get the icon to appear when I read an email.
My manifest validator says i'm ok so far.
Manifest Validation
here is my manifest.
<MobileFormFactor>
<ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
<Group id="mobileMsgRead">
<Label resid="groupLabel" />
<Control xsi:type="MobileButton" id="TaskPaneBtn">
<Label resid="restpaneReadButtonLabel" />
<Icon xsi:type="bt:MobileIconList">
<bt:Image size="25" scale="1" resid="mobile-32" />
<bt:Image size="25" scale="2" resid="mobile-32" />
<bt:Image size="25" scale="3" resid="mobile-32" />
<bt:Image size="32" scale="1" resid="mobile-32" />
<bt:Image size="32" scale="2" resid="mobile-32" />
<bt:Image size="32" scale="3" resid="mobile-32" />
<bt:Image size="48" scale="1" resid="mobile-32" />
<bt:Image size="48" scale="2" resid="mobile-32" />
<bt:Image size="48" scale="3" resid="mobile-32" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="readTaskPaneUrl" />
</Action>
</Control>
</Group>
</ExtensionPoint>
</MobileFormFactor>
Try adding the following at the end of your <Form> element:
<TabletSettings>
<SourceLocation DefaultValue="https://dev2.practicepanther.com/outlook" />
<RequestedHeight>250</RequestedHeight>
</TabletSettings>
<PhoneSettings>
<SourceLocation DefaultValue="https://dev2.practicepanther.com/outlook" />
</PhoneSettings>
Does that help?

How to get the workflow authentication to work in Aviarc

We are trying to roll out authentication into my app and it’s not working for us.
We have set up the Current Authority and Current Authorizer and have even set the login query to be just select ‘a’ so we are guaranteed to get a result set.
We have copied the Login workflow to workflows/system directory.
It doesn’t look like it’s even trying to run the login query.
start.xml workflow:
<workflow>
<authenticate error-screen="login-error" dataset="login">
<show-screen name="login" />
</authenticate>
<call-workflow name="home"/>
</workflow>
login.xml screen:
<screen xmlns:action="urn:aviarc:widget:com.aviarc.toronto.widget.core.action:1"
xmlns:app="urn:aviarc:widget:application">
<group-box visible="y" left="10" right="4" top="10" bottom="4" class="blue">
<image height="80" width="245" left="10" top="5" class="mfcologo" />
<line height="5" left="0" right="0" top="120" class="myerblue" />
<text-static visible="y" left="74" top="151" width="80" height="20" text="User name:" />
<text-static visible="y" left="234" top="151" width="80" height="20" text="Password:" />
<text-edit name="username" left="74" top="182" width="100" height="20" field="login.user_name" />
<text-edit name="password" left="234" top="182" width="100" height="20" field="login.user_password" datatype="password" />
<button left="376" top="182" width="60" height="20" label="Login" action="Next"/>
</group-box>
</screen>
system/Login.xml workflow:
<workflow xmlns:au-security="urn:aviarc:xmlcommand:au.com.aviarc.xmlcommand.security">
<au-security:hash-text text="{$login.user_password}" result-field="login.hashed-password" />
<dataset name="cslogin" databroker="loginqry" query="get-all">
<param name="username" value="{$login.user_name}" />
<param name="password" value="{$login.hashed-password}" />
</dataset>
<if test="dataset-empty" value1="cslogin">
<then>
<set-field field="login.authenticated" value="n"/>
</then>
<else>
<set-field field="login.authenticated" value="y"/>
</else>
</if>
</workflow>
The Workflow authentication requires "username" field to be populated prior to entering it, otherwise the authentication would fail immediately and login error screen will be displayed.
In your example it is fairly easy to fix, changing the line in login.xml screen from:
<text-edit name="username" left="74" top="182" width="100" height="20" field="login.user_name" />
to be:
<text-edit name="username" left="74" top="182" width="100" height="20" field="login.username" />
and updating reference to it in the system/Login workflow.