Prerequisites

This page assumes that you have a working Tachyon installation, for more details on implementing Tachyon please refer to the Tachyon documentation Tachyon 5.2 - Implementing Tachyon Platform.

Tachyon Platform

If you want to use the Tachyon-related features - client-side Order Tracking and Tachyon Instruction Applications - you will need:

  • Tachyon license with Shopping 6.1 Shopping-specific instructions enabled
  • Tachyon Platform 5.2 or later server infrastructure
  • 1E Client 5.2 (the latest hotfix applied) or later, with the Shopping client and Tachyon Agent enabled.

In Tachyon, you will also need:

  • A Tachyon user - a domain account that will be used as a proxy by Shopping
  • A Tachyon role called Shopping Administrator - assigned to the Tachyon user
  • A Tachyon consumer called Shopping
  • An Instruction set called 1E Shopping with Actioner permission assigned to the Shopping Administrator role
  • An instruction (file name 1E-Shopping-ShowNotification.xml) added to the Instruction set that interfaces with the 1E Client Shopping module.
All of these are added to Tachyon automatically by the Shopping Central installer, if you enable Tachyon integration when installing or upgrading to Shopping 6.1.

You will need a Tachyon license that covers the Shopping-specific instructions if you want to use the client-side features of Shopping's Order Tracking feature. Contact 1E for a Shopping 6.1 addition to your Tachyon license if you do not already have it.

On this page:

Enabling Tachyon integration during Shopping 6.1 installation or upgrade

The Shopping Installer Account should have these following permissions added on the Tachyon Portal

Tachyon Platform portal

You will need to check the Enable Tachyon Integration checkbox and provide details for your Tachyon Platform implementation, if you require either of the following Shopping features:

  • Shopping for Tachyon Instructions
  • Client-side Order Tracking - notifying Shoppers using a notification icon and toast popups  
FieldDescription
Tachyon Platform base URL

Set this to the base URL for your Tachyon Platform implementation. 

For example: https://tachyon.acme.local:443/

User Name (Domain\User)

Set this to the user name for the account you want to use for running the Tachyon Instruction that implements the client-side Order Tracking feature and any Tachyon Instructions you are making available as Shopping applications. The user name must be provided in the form Domain\User. You could even set this to the account details you used for the Shopping Service account to save having to provision another account. The installer will:

  • Create the Shopping Administrators role in Tachyon
  • Create an instruction set called 1E Shopping and add the client-side Order Tracking instruction to it
  • Give the Shopping Administrators role permission to run the instruction
  • Add the specified user account to Tachyon
  • Assign the user account to the Shopping Administrators role
  • Save the name as Tachyon username in the Shopping Console settings (also saves its password enrypted).

Password

Set this to the password of the Tachyon user account you want to use for running Shopping instructions.

Click Next to continue.


Order Tracking emails are still available without Tachyon integration. 

Managing Tachyon instruction sets

If you have enabled Tachyon integration, you're now ready for your Tachyon administrator to permission instructions sets, and upload product packs containing instructions to offer to your Shoppers.

You can only use Shopping to offer Tachyon action instructions, you cannot offer questions. 

By default, Shopping administrators will be able to offer all action instructions from Tachyon. However, many Tachyon action instructions are meant to fix technical issues that you and other IT staff understand well, but end-users may not. This means that you rely on Shopping administrators using common sense when choosing the instructions to publish as Tachyon instruction applications.

It's a good idea instead to restrict the range of Tachyon instructions made available to Shopping administrators to specific Instructions sets. Then, when Shopping administrators are creating Tachyon instruction applications to make them available to users, they will only be able to select from the Tachyon instructions available in those sets - not all the Tachyon instructions. Regardless of whether the Instructions sets contain both action and question instructions, the Shopping administrators will only see action instructions.

Each instruction can belong to only one Instruction set. Each Instruction set can contain multiple instructions, and can be assigned to one or more Tachyon roles.  Shopping uses only one role called Shopping Administrators to which you will assign your chosen Instruction sets.

All of that is optional. You can use the following processes if you want to take the restrictive approach. By default, Shopping administrators will be able to offer all action instructions.

Restrict the Tachyon Shopping Administrators role to the instruction set

In Tachyon Platfom 5.x do the following

  1. In the Tachyon Settings app, go to the Permissions, Roles node.
  2. Click on the Shopping Administrators role - if this does not exist then check with your Tachyon administrators they have not used a different name, which may happen if Enabling Tachyon integration after Shopping 6.1 installation or upgrade.
  3. Click on Members to confirm the listed Tachyon username is the one specified in your Shopping Console settings.
  4. Click on Management Groups  to confirm All Devices is listed - this is the default - if required, you can change this to select specific Management Groups to limit the scope of devices you can send instructions to.
  5. Click on Permissions then for each Instruction set.
    1. Click Add then in the Add pemission dialog.
    2. Click on the Type drop-down and select Instruction set type.
    3. Click on the Name drop-down and select your chosen Instruction set - if this does not exist then you will need to Cancel the Add step, and Create an Instruction set.
    4. Check  Actioner.
    5. Click Add.
  6. If you want to delete an Instruction set, check the checkbox to its left and click Delete button on the right.

In Tachyon Platform 8.0 do the following

Steps will be provided when Tachyon Platform 8.0 is released.


Create an Instruction set

Instructions are available from 1E in Product Packs, which are zips provided as part of Tachyon Platform installation, or downloaded from Tachyon Exchange. You can use the Exchange to search for suitable product packs, or submit requests for new instructions. You or your Tachyon administrator can also author your own instructions, as described in Writing Tachyon Instructions.

You can use the  Tachyon Product Pack deployment tool to upload Product Packs, and the tool will automatically create one Instruction set for each pack. This is the preferred way of uploading instructions and creating Instruction sets.

Alternatively, you can use the Instruction sets page to manually upload Product Packs and then assign their instructions to Instructions sets you also create manually.


Upload or move instructions

Upload or move instructions to your instruction set. This process is fairly intuitive once you have created an Instruction set. Please refer to Instruction sets page if you need more detail.

You are now ready to offer Tachyon instructions to your users.


Enabling Tachyon integration after Shopping 6.1 installation or upgrade

If you installed or upgraded to Shopping 6.1 without enabling the Tachyon integration, you must then:

  • Create a Tachyon consumer
  • Create a Tachyon Shopping Administrators role
  • Load a Tachyon instruction to communicate with the 1E Client Shopping module
  • Set values in the Shopping console

These steps are done automatically if you enable Tachyon integration while installing or upgrading to Shopping 6.1, so that option is much preferred.

Create a Tachyon Shopping consumer

In the Tachyon Settings application:

  1. Open the Configuration node and select Consumers.
  2. Click Add.
  3. Set the Name to Shopping.
  4. Set the Maximum simultaneous instructions to 1000.
  5. Set the Offload target URL to:

    https://<Shopping Server FQDN>/<Shopping header>/api/Offload/TachyonResponses

    Where <Shopping Server FQDN> needs to be set to the FQDN where the Shopping website has been installed, or

    https://<Shopping Server DNS Alias>/<Shopping header>/api/Offload/TachyonResponses

    Where <Shopping Server DNS Alias> needs to be set to any DNS Alias you have configured for Shopping.

  6. Set the Offload timeout seconds to 60.
  7. Click the Use Windows Authentication and Enabled checkboxes.
  8. Click Save.

Editing the Tachyon Shopping consumer workflow

The Tachyon consumer page does not allow you to specify the workflow for the Shopping consumer. This must be done using SQL Server Management Studio. To do so:

  1. Open SQL Server Management Studio and connect to the SQL instance that hosts the TachyonMaster database.
  2. Open a New Query and paste the below SQL query - no edits are required.
  3. Execute the SQL query and confirm the Shopping workflow setting is changed from NULL to:
     [{"ReferenceType":0,"InstructionWorkflow":[{"InstructionType":1,"Workflow":{"StateMachine":"State"}}]}]
  4. Close SQL Server Management Studio.


SQL script to configure Tachyon Shopping consumer workflow

SQL script to configure Tachyon Shopping consumer workflow
/* Script to change TachyonMaster Consumer setting */
USE [TachyonMaster]
GO
DECLARE @setting nvarchar(max), @oldvalue nvarchar(max), @newvalue nvarchar(max)
SET @setting = 'Shopping'
SET @newvalue = '[{"ReferenceType":0,"InstructionWorkflow":[{"InstructionType":1,"Workflow":{"StateMachine":"State"}}]}]'

SET @oldvalue = (SELECT [Workflow] FROM [dbo].[Consumer] WHERE [Name]= @setting)
 
UPDATE [dbo].[Consumer] SET [Workflow]=@newvalue WHERE [Name]=@setting
 
SELECT @setting AS 'Setting', @oldvalue AS 'Before', [Workflow] AS 'After' FROM [dbo].[Consumer]
WHERE [Name]=@setting
GO


Create and assign a Shopping Administrators role in Tachyon

In the Tachyon Settings application:

  1. Open the Permissions node and select Roles
  2. Click Add
  3. For the Name, use Shopping Administrators - any name will do, but this is what the installer would have created automatically
  4. For the Description, use something like Users with this role can use the Shopping related instructions
  5. Click Save
  6. Click on the newly added role
  7. Go to the Permissions tab and click Add
  8. For the Type, select Instruction set
  9. For the Name, select Shopping - If Shopping is not available it is because you don't have a suitable Tachyon license
  10. Click the Actioner checkbox
  11. Click Add
  12. Click on the newly added role again
  13. Select the Members tab and click Add
  14. Add a user account - this is the same account specified in the Shopping Admin Console

Upload a Tachyon instruction to communicate with the 1E Client Shopping module

  1. Locate the 1E-Shopping.zip Product Pack (in the ProductPacks folder of the Shopping download zip available from the 1E Support Portal)
  2. Upload the 1E-Shopping Product Pack using the  Tachyon Product Pack deployment tool  (in the Tachyon Platform download zip available from the 1E Support Portal)
  3. In the Tachyon Portal, use the Settings app to navigate to Instructions→ Instruction sets and confirm
    1. existence of an Instruction set called 1E Shopping 
    2. containing an instruction with name starting with: Show a notification with title %title% and description %description% to user %userName%... 
  4. Search for Shopping
  5. Download the Shopping product pack and load it as per the Tachyon documentation for loading product packs


Set values in the Shopping Console

In the Shopping Admin Console:

  1. Open the Settings node and scroll down to the Tachyon Integration section
  2. Set Tachyon Integration to Enabled
  3. Set Tachyon Username and Tachyon Password to a Tachyon account - this account can be the same as the Shopping Central service account, but to keep to the principal of minimal privileges should be a unique account only used for connecting Shopping to Tachyon. The account requires no privileges other than being defined as a Tachyon account and having the Tachyon Shopping Administrators role
  4. Set the Tachyon Base URL to the URL for your Tachyon server
  5. The other values can be left at their default settings - see table below for guidance on changing values
  6. Click Save to save the settings
  7. Restart the Shopping Central service.


Setting nameDefault valueDescription
Order Tracking Enabled
FalseEnables the Order Tracking feature when set to true.
Tachyon Base URL
Depends on installation

Set this to the base URL for your Tachyon Platform implementation. 

For example: https://tachyon.acme.local:443/

Tachyon Instruction Processor Interval
5

Interval which Shopping checks to see if there are any new Tachyon Instruction Application orders to be run. This starts the gather period.

If you set this value smaller than the default, the Tachyon instruction applications will complete faster, but will add a bit more server load to the Shopping and Tachyon servers. Instruction applications will on average take half of whatever this value is. For example, when set to 5, instructions could take from 0 to 5 minutes to be effective, averaging 2.5 minutes.

Note that some instructions have their own stagger period to wait after being sent to the client and actually running.

Tachyon Instruction Status Processor Interval
5Interval which Shopping polls Tachyon for status. Default value is 5 minutes.
Tachyon Instruction TTL Minutes
60

This defines the length of the gather period which Tachyon uses to wait for offline devices to come online and run the instruction.

When a Shopper shops for an Instruction application, they will be online. However, they may be offline if the instruction requires approval in shopping.   A device may also be offline if administrators are shopping on behalf of the user.

Tachyon Integration Enabled
Depends on installation

This setting must be true if you want to use Tachyon Instruction applications or Order Tracking features.

If you change this from true to false, and restart the Central service, then pending Instruction applications will not be processed. Instruction applications will not be visible in the Shopping website for new users. Existing users will see them until their Shopping cache is refreshed, and any request will not be processed. Changing this setting back to true will continue to process the requests. 

Tachyon Password
Depends on installation

Password for Tachyon Username - this is saved encrypted.

Tachyon Username
Depends on installationSet this to the user name for the account you want to use for running the Tachyon Instructions.