Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a variable to the workflow expression engine
#5
I can confirm this is still not working as expected (July 2018 version)

Converting from an SO to an invoice WILL default the assigned user to the current one as far as I've tested. But when I use the following business map to control duplicates:
Code:
<map>
<originmodule>
  <originname>Invoice</originname>
</originmodule>
<targetmodule>
  <targetname>Invoice</targetname>
</targetmodule>
<fields>
  <field>
    <fieldname>assigned_user_id</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(assigned_user_id : (Users) id)</OrgfieldName>
        <OrgfieldID>TEMPLATE</OrgfieldID>
      </Orgfield>
     </Orgfields>
  </field>
</fields>
</map>

The invoice duplicate WILL default to another user, but not the current one, it defaults to a user that isn't even active. I also tried the above map with the EXPRESSION type.

Then I tried:
Code:
<map>
<originmodule>
  <originname>Invoice</originname>
</originmodule>
<targetmodule>
  <targetname>Invoice</targetname>
</targetmodule>
<fields>
  <field>
    <fieldname>assigned_user_id</fieldname>
    <Orgfields>
      <Orgfield>
        <OrgfieldName>$(assigned_user_id : (Users) first_name)</OrgfieldName>
        <OrgfieldID>TEMPLATE</OrgfieldID>
      </Orgfield>
      <Orgfield>
        <OrgfieldName>$(assigned_user_id : (Users) last_name)</OrgfieldName>
        <OrgfieldID>TEMPLATE</OrgfieldID>
      </Orgfield>
      <delimiter> </delimiter>
     </Orgfields>
  </field>
</fields>
</map>

With and without the delimiter. That defaulted to a group. One where the current user is not associated with.
Reply


Messages In This Thread
RE: Adding a variable to the workflow expression engine - Guido1982 - 07-13-2018, 02:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)